KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > security > domain > DomainServerSocketFactoryServiceMBean


1 package org.jboss.remoting.security.domain;
2
3 import org.jboss.remoting.security.ServerSocketFactoryMBean;
4
5 /**
6  * @author <a HREF="mailto:telrod@e2technologies.net">Tom Elrod</a>
7  */

8 public interface DomainServerSocketFactoryServiceMBean extends ServerSocketFactoryMBean
9 {
10    void setSecurityDomain(String JavaDoc securityDomain);
11
12    String JavaDoc getSecurityDomain();
13
14    /**
15     * start the service, create is already called
16     */

17    void start() throws Exception JavaDoc;
18
19    /**
20     * create the service, do expensive operations etc
21     */

22    void create() throws Exception JavaDoc;
23
24    /**
25     * stop the service
26     */

27    void stop();
28
29    /**
30     * destroy the service, tear down
31     */

32    void destroy();
33 }
34
Popular Tags