org.apache.axis2.jaxws.runtime.description.injection.impl
Class ResourceInjectionServiceRuntimeDescriptionImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.runtime.description.injection.impl.ResourceInjectionServiceRuntimeDescriptionImpl
All Implemented Interfaces:
ServiceRuntimeDescription, ResourceInjectionServiceRuntimeDescription

public class ResourceInjectionServiceRuntimeDescriptionImpl
extends Object
implements ResourceInjectionServiceRuntimeDescription


Constructor Summary
protected ResourceInjectionServiceRuntimeDescriptionImpl(String key, ServiceDescription serviceDesc)
           
 
Method Summary
 String getKey()
           
 Method getPostConstructMethod()
           
 Method getPreDestroyMethod()
           
 ServiceDescription getServiceDescription()
           
 boolean hasResourceAnnotation()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceInjectionServiceRuntimeDescriptionImpl

protected ResourceInjectionServiceRuntimeDescriptionImpl(String key,
                                                         ServiceDescription serviceDesc)
Method Detail

hasResourceAnnotation

public boolean hasResourceAnnotation()
Specified by:
hasResourceAnnotation in interface ResourceInjectionServiceRuntimeDescription
Returns:
true if @Resource is found on any Field or Method of the Implementation class

getPostConstructMethod

public Method getPostConstructMethod()
Specified by:
getPostConstructMethod in interface ResourceInjectionServiceRuntimeDescription
Returns:
Method with @PostConstruct or null

getPreDestroyMethod

public Method getPreDestroyMethod()
Specified by:
getPreDestroyMethod in interface ResourceInjectionServiceRuntimeDescription
Returns:
Method with @PreDestroy or null

getServiceDescription

public ServiceDescription getServiceDescription()
Specified by:
getServiceDescription in interface ServiceRuntimeDescription
Returns:
OperationDesc parent

getKey

public String getKey()
Specified by:
getKey in interface ServiceRuntimeDescription
Returns:
String

toString

public String toString()
Overrides:
toString in class Object


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