| java.lang.Object com.sun.jbi.binding.file.FileBindingLifeCycle
getExtensionMBeanName | public javax.management.ObjectName getExtensionMBeanName()(Code) | | Get the ObjectName for any MBean that is provided for managing this
binding. In this case, there is none, so a null is returned.
ObjectName is always null. |
init | public void init(javax.jbi.component.ComponentContext jbiContext) throws javax.jbi.JBIException(Code) | | Initialize the File BC. This performs initialization required by the
File BC but does not make it ready to process messages. This method is
called immediately after installation of the File BC. It is also
called when the JBI framework is starting up, and any time the BC is
being restarted after previously being shut down through a call to
shutdown().
Parameters: jbiContext - the JBI environment context throws: javax.jbi.JBIException - if the BC is unable to initialize. |
setResolver | public void setResolver(FileBindingResolver resolver)(Code) | | Sets the resolver.
Parameters: resolver - resolver object. |
shutDown | public void shutDown() throws javax.jbi.JBIException(Code) | | Shutdown the BC. This performs cleanup before the BC is terminated. Once
this has been called, init() must be called before the BC can be
started again with a call to start().
throws: javax.jbi.JBIException - if the BC is unable to shut down. |
start | public void start() throws javax.jbi.JBIException(Code) | | Start the File BC. This makes the File BC ready to process messages.
This method is called after init() completes when the JBI framework is
starting up, and when the BC is being restarted after a previous call
to shutdown(). If stop() was called previously but shutdown() was not,
start() can be called without a call to init().
throws: javax.jbi.JBIException - if the BC is unable to start. |
stop | public void stop() throws javax.jbi.JBIException(Code) | | Stop the BC. This makes the BC stop accepting messages for processing.
After a call to this method, start() can be called again without first
calling init().
throws: javax.jbi.JBIException - if the BC is unable to stop. |
|
|