KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > detection > ServerInvokerMetadata


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.remoting.detection;
8
9 import java.io.Serializable JavaDoc;
10 import org.jboss.remoting.InvokerLocator;
11
12 /**
13  * This is the meta data for a server invoker that is contained within
14  * detection messages.
15  *
16  * @author <a HREF="mailto:tom.elrod@jboss.com">Tom Elrod</a>
17  */

18 public class ServerInvokerMetadata implements Serializable JavaDoc
19 {
20    private InvokerLocator locator;
21    private String JavaDoc[] subSystems;
22
23    public ServerInvokerMetadata(InvokerLocator locator, String JavaDoc[] supportedSubsystems)
24    {
25       this.locator = locator;
26       this.subSystems = supportedSubsystems;
27    }
28
29    public InvokerLocator getInvokerLocator()
30    {
31       return locator;
32    }
33
34    public String JavaDoc[] getSubSystems()
35    {
36       return subSystems;
37    }
38 }
Popular Tags