|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.services.bootstrap.repository.JOnASRepositories
public class JOnASRepositories
This component is part of the bootstrap module and registers initial repositories that will be used by the deployment plan.
| Constructor Summary | |
|---|---|
JOnASRepositories()
|
|
| Method Summary | |
|---|---|
List<String> |
getRepositoriesDescriptions()
Returns the list of repository ids. |
Integer |
getRepositoriesNumber()
Returns the number of available repositories. |
Integer |
getRepositoryDeployablesCount()
Returns the number of deployed repositories deployables. |
List<String> |
getURLRepositories()
Get the URL repositories from the repositoryManager, and exclude the internal ROOT repository |
void |
setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
|
void |
setMBeanServer(MBeanServer mbeanServer)
Set the MBean Server. |
void |
setRepositoryDeployer(org.ow2.util.plan.deployer.api.IRepositoryDeployer repositoryDeployer)
Set the repository deployer. |
void |
setRepositoryManager(org.ow2.util.plan.repository.api.IRepositoryManager repositoryManager)
Set the repository manager used by this service. |
void |
setRepositoryReader(org.ow2.util.plan.reader.repository.IRepositoryDataReader repositoryReader)
Set the repository reader. |
void |
setServerProperties(ServerProperties serverProperties)
Set the server properties service. |
void |
start()
This callback method is called during the service starting as soon as all service dependencies are resolved. |
void |
stop()
This callback method is called during the service stopping. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JOnASRepositories()
| Method Detail |
|---|
public void start()
throws Exception
Exception
public void stop()
throws Exception
Exceptionpublic Integer getRepositoryDeployablesCount()
getRepositoryDeployablesCount in interface JOnASRepositoriesMBeanpublic List<String> getRepositoriesDescriptions()
getRepositoriesDescriptions in interface JOnASRepositoriesMBeanpublic List<String> getURLRepositories()
getURLRepositories in interface JOnASRepositoriesMBeanpublic Integer getRepositoriesNumber()
getRepositoriesNumber in interface JOnASRepositoriesMBeanpublic void setServerProperties(ServerProperties serverProperties)
serverProperties - the serverProperties to setpublic void setRepositoryManager(org.ow2.util.plan.repository.api.IRepositoryManager repositoryManager)
repositoryManager - the new repository manager.public void setRepositoryDeployer(org.ow2.util.plan.deployer.api.IRepositoryDeployer repositoryDeployer)
repositoryDeployer - the new repository deployer.public void setMBeanServer(MBeanServer mbeanServer)
mbeanServer - the new JMX service.public void setRepositoryReader(org.ow2.util.plan.reader.repository.IRepositoryDataReader repositoryReader)
repositoryReader - the new repository reader.public void setConfigurationAdmin(org.osgi.service.cm.ConfigurationAdmin configurationAdmin)
configurationAdmin - the configurationAdmin to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||