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 java.lang.Object
implements ResourceInjectionServiceRuntimeDescription


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

Constructor Detail

ResourceInjectionServiceRuntimeDescriptionImpl

protected ResourceInjectionServiceRuntimeDescriptionImpl(java.lang.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 java.lang.reflect.Method getPostConstructMethod()
Specified by:
getPostConstructMethod in interface ResourceInjectionServiceRuntimeDescription
Returns:
Method with @PostConstruct or null

getPreDestroyMethod

public java.lang.reflect.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 java.lang.String getKey()
Specified by:
getKey in interface ServiceRuntimeDescription
Returns:
String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 Apache Web Services Project. All Rights Reserved.