|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.NotificationBroadcasterSupport
org.ow2.jonas.lib.reconfig.ReconfigEmitter
org.ow2.jonas.lib.service.AbsServiceImpl
org.ow2.jonas.registry.carol.CarolRegistryService
public class CarolRegistryService
Implementation of the RegistryService
interface.
Field Summary | |
---|---|
static String |
COLLOCATED
Collocated mode. |
static String |
DEFAULT_MODE
Automatic mode. |
static String |
REMOTE
Remote mode. |
Fields inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
---|
RECONFIG_TYPE, SAVE_RECONFIG_TYPE |
Constructor Summary | |
---|---|
CarolRegistryService()
|
Methods inherited from class org.ow2.jonas.lib.service.AbsServiceImpl |
---|
convertToList, doInit, getDomainName, getJonasServerName, getName, getServerProperties, init, isStarted, setName, setServerProperties, start, stop, throwRequirementException, toString |
Methods inherited from class org.ow2.jonas.lib.reconfig.ReconfigEmitter |
---|
initLogger, sendReconfigNotification, sendSaveNotification |
Methods inherited from class javax.management.NotificationBroadcasterSupport |
---|
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.jonas.service.Service |
---|
getName, init, isStarted, setName, start, stop |
Field Detail |
---|
public static final String DEFAULT_MODE
public static final String COLLOCATED
public static final String REMOTE
Constructor Detail |
---|
public CarolRegistryService()
Method Detail |
---|
public void setMode(String mode)
mode
- Registry mode (default, collocated or remote).public void doStart() throws ServiceException
doStart
in class AbsServiceImpl
ServiceException
public void doStop() throws ServiceException
doStop
in class AbsServiceImpl
ServiceException
public List<String> getActiveProtocolNames()
getActiveProtocolNames
in interface RegistryService
public String getDefaultProtocolName()
getDefaultProtocolName
in interface RegistryService
public int getExportedObjectPort(String protocolName)
getExportedObjectPort
in interface RegistryService
public String getInitialContextFactoryName(String protocolName)
getInitialContextFactoryName
in interface RegistryService
public URI getProviderURL(String protocolName)
getProviderURL
in interface RegistryService
public void setDefaultProtocol(String protocolName)
setDefaultProtocol
in interface RegistryService
public void setComponentContextFactory(JComponentContextFactory factory)
JComponentContextFactory
to use.
factory
- selected factorypublic void setDelegate(JComponentContextFactoryDelegate delegate)
JComponentContextFactoryDelegate
to use.
delegate
- selected delegatepublic void setStartRegistry(boolean startRegistry)
startRegistry
- the bStartRegistry to setpublic void setIgnoreError(boolean ignoreError)
ignoreError
- the bIgnoreError to setpublic void setConfigurationURL(URL configurationURL)
configurationURL
- the configurationURL to setpublic void setConfiguration(String configurationURL) throws MalformedURLException
configurationURL
- the configurationURL to set
MalformedURLException
- throws if the URL is not validpublic InitialContext getRegistryContext()
getRegistryContext
in interface RegistryService
NamingException
public void setMbeanServer(MBeanServer mbeanServer)
mbeanServer
- the mbeanServer to setpublic void setDeploymentPlanDeployer(DeploymentPlanDeployer deploymentPlanDeployer)
deploymentPlanDeployer
- the deploymentPlanDeployer to setpublic void setVersioningService(VersioningService versioningService)
versioningService
- The versioning service to set.public void unsetVersioningService()
public VersioningService getVersioningService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |