|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ha.singleton.HASingletonProfileActivator
org.jboss.ha.singleton.HASingletonProfileManager
public class HASingletonProfileManager
Extends HASingletonProfileActivator
by actually creating and
registering a Profile
from a configurable set of URIs during
the start()
phase, deregistering it in the stop()
phase.
Field Summary |
---|
Fields inherited from class org.jboss.ha.singleton.HASingletonProfileActivator |
---|
DEFAULT_PROFILE_NAME, log |
Constructor Summary | |
---|---|
HASingletonProfileManager()
Create a new HASingletonProfileManager. |
Method Summary | |
---|---|
protected org.jboss.profileservice.spi.metadata.ProfileSourceMetaData |
createSource(URI[] uris,
boolean hotDeployment)
Create a profile repository source meta data. |
AbstractProfileFactory |
getProfileFactory()
|
List<URI> |
getURIList()
Get the uri list |
void |
setProfileFactory(AbstractProfileFactory profileFactory)
|
void |
setURIList(List<URI> list)
Set the uri list |
void |
start()
Builds a profile from the URI list and registers
it under the configured HASingletonProfileActivator.getProfileKey() . |
void |
stop()
Unregisters the profile registered in start() . |
Methods inherited from class org.jboss.ha.singleton.HASingletonProfileActivator |
---|
activateProfile, getProfileDomain, getProfileKey, getProfileName, getProfileServer, getProfileService, handleNoSuchProfileException, isActivated, releaseProfile, setProfileDomain, setProfileName, setProfileServer, setProfileService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HASingletonProfileManager()
Method Detail |
---|
public AbstractProfileFactory getProfileFactory()
public void setProfileFactory(AbstractProfileFactory profileFactory)
public void setURIList(List<URI> list) throws IOException
setURIList
in interface HASingletonProfileManagerMBean
list
- the list
IOException
public List<URI> getURIList()
getURIList
in interface HASingletonProfileManagerMBean
public void start() throws Exception
URI list
and registers
it under the configured HASingletonProfileActivator.getProfileKey()
.
Exception
public void stop() throws Exception
start()
.
Exception
protected org.jboss.profileservice.spi.metadata.ProfileSourceMetaData createSource(URI[] uris, boolean hotDeployment)
type
- the repository type.uri
- the uri
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |