public abstract class LCMFactory
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
abstract LCMRegistryService |
createLCMRegistryService(javax.xml.registry.Connection connection)
Creates an
LCMRegistryService for the given JAXR connection. |
static LCMFactory |
newInstance()
Creates an
LCMFactory object. |
public static LCMFactory newInstance() throws LCMException
LCMFactory
object.LCMFactory
LCMFactory
- if the LCMFactory could not be instantiatedLCMException
public abstract LCMRegistryService createLCMRegistryService(javax.xml.registry.Connection connection) throws LCMException
LCMRegistryService
for the given JAXR connection.
The factory ensures that there is at most one LCM registry service for
each JAXR connection.connection
- the JAXR connection for which the LCMRegistryService is to be providedLCMException
- if the LCM provider encounters an internal error while creating LCMRegistryService