FileDocCategorySizeDatePackage
DescriptorEndpointInfo.javaAPI DocGlassfish v2 API4082Fri May 25 01:19:40 BST 2007com.sun.enterprise.jbi.serviceengine.core

DescriptorEndpointInfo

public class DescriptorEndpointInfo extends Object
Class which holds the endpoint information specified in jbi.xml of the service unit.
author
Vikas Awasthi

Fields Summary
QName
interfacename
Interface name.
QName
servicename
Service name.
String
endpointname
Endpoint name.
boolean
provider
Provider endpoint.
boolean
started
private String
su_Name
Constructors Summary
public DescriptorEndpointInfo(String su_Name)


       
        this.su_Name = su_Name;
    
Methods Summary
public static java.lang.StringgetDEIKey(javax.xml.namespace.QName serviceName, java.lang.String endpointName)

        return serviceName.getLocalPart() + endpointName;
    
public java.lang.StringgetEndpointName()
Returns the endpoint name.

        return endpointname;
    
public javax.xml.namespace.QNamegetInterfaceName()
Returns the interface name.

        return interfacename;
    
public java.lang.StringgetKey()

        return servicename.getLocalPart() + endpointname;
    
public javax.xml.namespace.QNamegetServiceName()
Returns the service name.

        return servicename;
    
public java.lang.StringgetSu_Name()

        return su_Name;
    
public booleanisProvider()
Returns true if the endpoint is provider.

        return provider;
    
public booleanisStarted()

        return started;
    
public voidsetEndpointName(java.lang.String epname)
Sets the endpoint name.

        endpointname = epname;
    
public voidsetInterfaceName(javax.xml.namespace.QName intername)
Sets the interface name.

        interfacename = intername;
    
public voidsetProvider()
Sets the endpoint as provider.

        provider = true;
    
public voidsetServiceName(javax.xml.namespace.QName sername)
Sets the service name.

        servicename = sername;
    
public voidsetStarted(boolean started)

        this.started = started;