|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.synapse.commons.beanstalk.enterprise.EnterpriseBeanstalkManager
public class EnterpriseBeanstalkManager
Manages beanstalks configured in the Synapse Environment. Only one instance of this class is created per Synapse environment. It is attached to the ServerContextInformation with BeanstalkConstants.BEANSTALK_MANAGER_PROP_NAME property name.
| Constructor Summary | |
|---|---|
EnterpriseBeanstalkManager()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Cleans up resources allocated by this BeanstalkManager. |
EnterpriseBeanstalk |
getBeanstalk(String name)
Returns the beanstalk with the given name, null if it's not found. |
void |
init(Properties props)
Initializes the beanstalk manager, which creates and initializes beanstalk defined in the given Properties instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnterpriseBeanstalkManager()
| Method Detail |
|---|
public void init(Properties props)
props - Properties to read beanstalk configurations from. Usually, source of this is
synapse.properties file.public EnterpriseBeanstalk getBeanstalk(String name)
name - Name of the beanstalk.
public void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||