com.ibm.websphere.wim.client

Interface LocalService

  • All Superinterfaces:
    ConfigConstants, ConfigService, DynamicConfigConstants, DynamicConfigService, ProfileService, SchemaConstants, SchemaService, Service
    All Known Implementing Classes:
    LocalServiceProvider


    public interface LocalService
    extends Service
    Local service interface of virtual member manager. It extends from com.ibm.websphere.wim.Service with one addtional method:

    EPackage getSchemaPackage(String nsURI) throws WIMException

    This method directly returns org.eclipse.emf.ecore.EPackage from the given name space URL. It is different from the getEPackages API method:

    byte[] getEPackges(String nsURI) throws WIMException, RemoteException

    which returns the schema package in byte array form to allow serialization. Returns the schema package from the given namespace URI in byte array form.

    See Also:
    Service
    • Method Detail

      • getSchemaPackage

        EPackage getSchemaPackage(java.lang.String nsURI)
                                  throws WIMException
        Returns the schema package from the given namespace URI. For example, to return build-in schema package of virtual member manager, the namespace URI is "http://www.ibm.com/websphere/wim" (SchemaConstants.WIM_NS_URI). to return build-in configuration schema package of virtual member manager, the namespace URI is "http://www.ibm.com/websphere/wim/config ((ConfigConstants.WIM_CONFIG_NS_URI)".
        Parameters:
        nsURI - The name space URI of the schema package.
        Throws:
        WIMException - Exceptions thrown by virtual member manager service .
        Return:
        EPackage form of the schema package(s).