Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Reference > Virtual member manager APIs > SchemaService interface


getEPackages(String) method

Use the getEPackages method to return the schema package from the given namespace URI in byte array form.


Purpose

The byte array form can be converted to EPackage form. The EPackage provides the vehicle for describing the schema of the virtual member manager data graph. The namespace URI of the virtual member manager built-in schema is //www.ibm.com/websphere/wim.

Because byte array can be serialized, this method can be used by remote clients to retrieve the virtual member manager schema packages from the virtual member manager service and register them in the local JVM.


Parameters

nsURI

The namespace URI of the schema. If nsURI is null, all schemas are returned, including the virtual member manager built-in schema and custom schemas.


Returns

The byte array form of the schema packages.


Exceptions


Signature

public byte[] getEPackages(String nsURI) throws WIMException, RemoteException

Parent topic: SchemaService interface



+

Search Tips   |   Advanced Search