org.apache.aries.ejb.modelling.impl
Class EJBServiceExport

java.lang.Object
  extended by org.apache.aries.ejb.modelling.impl.EJBServiceExport
All Implemented Interfaces:
Comparable<org.apache.aries.application.modelling.WrappedServiceMetadata>, org.apache.aries.application.modelling.ExportedService, org.apache.aries.application.modelling.Provider, org.apache.aries.application.modelling.WrappedServiceMetadata

public class EJBServiceExport
extends Object
implements org.apache.aries.application.modelling.ExportedService

This class represents the service exported on behalf of a Session Bean


Constructor Summary
EJBServiceExport(String ejbName, String ejbType, String interfaceName, boolean remote)
          Set up this ExportedService with the right EJB properties
 
Method Summary
 int compareTo(org.apache.aries.application.modelling.WrappedServiceMetadata o)
           
 boolean equals(Object o)
           
 Map<String,Object> getAttributes()
           
 Collection<String> getInterfaces()
           
 String getName()
           
 int getRanking()
           
 Map<String,Object> getServiceProperties()
           
 org.apache.aries.application.modelling.ResourceType getType()
           
 int hashCode()
           
 boolean identicalOrDiffersOnlyByName(org.apache.aries.application.modelling.WrappedServiceMetadata wsmi)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EJBServiceExport

public EJBServiceExport(String ejbName,
                        String ejbType,
                        String interfaceName,
                        boolean remote)
Set up this ExportedService with the right EJB properties

Parameters:
ejbName -
ejbType -
interfaceName -
remote -
Method Detail

getAttributes

public Map<String,Object> getAttributes()
Specified by:
getAttributes in interface org.apache.aries.application.modelling.Provider

getType

public org.apache.aries.application.modelling.ResourceType getType()
Specified by:
getType in interface org.apache.aries.application.modelling.Provider

getInterfaces

public Collection<String> getInterfaces()
Specified by:
getInterfaces in interface org.apache.aries.application.modelling.WrappedServiceMetadata

getName

public String getName()
Specified by:
getName in interface org.apache.aries.application.modelling.WrappedServiceMetadata

getRanking

public int getRanking()
Specified by:
getRanking in interface org.apache.aries.application.modelling.WrappedServiceMetadata

getServiceProperties

public Map<String,Object> getServiceProperties()
Specified by:
getServiceProperties in interface org.apache.aries.application.modelling.WrappedServiceMetadata

compareTo

public int compareTo(org.apache.aries.application.modelling.WrappedServiceMetadata o)
Specified by:
compareTo in interface Comparable<org.apache.aries.application.modelling.WrappedServiceMetadata>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

identicalOrDiffersOnlyByName

public boolean identicalOrDiffersOnlyByName(org.apache.aries.application.modelling.WrappedServiceMetadata wsmi)
Specified by:
identicalOrDiffersOnlyByName in interface org.apache.aries.application.modelling.WrappedServiceMetadata


Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.