|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.registry.core.factory.RegistryFactory
public class RegistryFactory
| Method Summary | |
|---|---|
static RegistryFactory |
getInstance()
|
org.ow2.petals.registry.api.LocalRegistry |
load(java.io.File configFile)
Load a new local registry instance from the given configuration file |
org.ow2.petals.registry.api.LocalRegistry |
loadLocal(org.ow2.petals.registry.api.config.Configuration configuration)
Load the registry from a configuration bean. |
org.ow2.petals.registry.api.LocalRegistry |
loadLocal(org.ow2.petals.registry.api.context.Context context)
|
org.ow2.petals.registry.api.RemoteRegistry |
loadRemote(org.ow2.petals.registry.api.config.RemoteConfiguration configuration)
Create a remote registry instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static RegistryFactory getInstance()
public org.ow2.petals.registry.api.LocalRegistry load(java.io.File configFile)
throws org.ow2.petals.registry.api.exception.RegistryException
org.ow2.petals.registry.api.exception.RegistryException
public org.ow2.petals.registry.api.LocalRegistry loadLocal(org.ow2.petals.registry.api.config.Configuration configuration)
throws org.ow2.petals.registry.api.exception.RegistryException
configuration -
org.ow2.petals.registry.api.exception.RegistryException
public org.ow2.petals.registry.api.LocalRegistry loadLocal(org.ow2.petals.registry.api.context.Context context)
throws org.ow2.petals.registry.api.exception.RegistryException
registryName - the name of the resgitry. This name MUST be unique in the
registry network. If not, the registry will be rejectedconfig -
org.ow2.petals.registry.api.exception.RegistryException
public org.ow2.petals.registry.api.RemoteRegistry loadRemote(org.ow2.petals.registry.api.config.RemoteConfiguration configuration)
throws org.ow2.petals.registry.api.exception.RegistryException
org.ow2.petals.registry.api.exception.RegistryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||