Package com.sun.enterprise.deployment
Class InterceptorDescriptor
-
- All Implemented Interfaces:
JndiNameEnvironment
,EjbReferenceContainer
,MessageDestinationReferenceContainer
,ResourceReferenceContainer
,WritableJndiNameEnvironment
,Serializable
- Direct Known Subclasses:
EjbInterceptor
public class InterceptorDescriptor extends JndiEnvironmentRefsGroupDescriptor
Contains information about 1 Java EE interceptor.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.deployment.JndiEnvironmentRefsGroupDescriptor
bundleDescriptor, callbackDescriptors, ejbReferences, entityManagerFactoryReferences, entityManagerReferences, environmentProperties, messageDestReferences, resourceEnvReferences, resourceReferences, serviceReferences
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description InterceptorDescriptor()
-
Method Summary
-
Methods inherited from class com.sun.enterprise.deployment.JndiEnvironmentRefsGroupDescriptor
addCallbackDescriptor, addCallbackDescriptors, addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceEnvReferenceDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, getBundleDescriptor, getCallbackDescriptors, getEjbReference, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceEnvReferenceByName, getResourceEnvReferenceDescriptors, getResourceReferenceByName, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptors, hasCallbackDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeMessageDestinationReferenceDescriptor, removeResourceEnvReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptor, setBundleDescriptor
-
Methods inherited from class com.sun.enterprise.deployment.CommonResourceDescriptor
addResourceDescriptor, getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptor, getResourceDescriptors, removeResourceDescriptor
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sun.enterprise.deployment.JndiNameEnvironment
getAllResourcesDescriptors, getAllResourcesDescriptors, getResourceDescriptors
-
Methods inherited from interface com.sun.enterprise.deployment.WritableJndiNameEnvironment
addResourceDescriptor, removeResourceDescriptor
-
-
-
-
Method Detail
-
getInterceptorClassName
public String getInterceptorClassName()
-
setInterceptorClassName
public void setInterceptorClassName(String className)
-
getInterceptorClass
public Class getInterceptorClass()
-
setInterceptorClass
public void setInterceptorClass(Class c)
-
getAroundInvokeDescriptors
public Set<LifecycleCallbackDescriptor> getAroundInvokeDescriptors()
-
getOrderedAroundInvokeDescriptors
public List<LifecycleCallbackDescriptor> getOrderedAroundInvokeDescriptors(ClassLoader loader) throws Exception
Some clients need the AroundInvoke methods for this inheritance hierarchy in the spec-defined "least derived --> most derived" order.- Throws:
Exception
-
getAroundTimeoutDescriptors
public Set<LifecycleCallbackDescriptor> getAroundTimeoutDescriptors()
-
getOrderedAroundTimeoutDescriptors
public List<LifecycleCallbackDescriptor> getOrderedAroundTimeoutDescriptors(ClassLoader loader) throws Exception
Some clients need the AroundTimeout methods for this inheritance hierarchy in the spec-defined "least derived --> most derived" order.- Throws:
Exception
-
setFromBeanClass
public void setFromBeanClass(boolean flag)
-
getFromBeanClass
public boolean getFromBeanClass()
-
addAroundInvokeDescriptor
public void addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc)
-
addAroundInvokeDescriptors
public void addAroundInvokeDescriptors(Set<LifecycleCallbackDescriptor> aroundInvokes)
-
hasAroundInvokeDescriptor
public boolean hasAroundInvokeDescriptor()
-
addAroundTimeoutDescriptor
public void addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc)
-
addAroundTimeoutDescriptors
public void addAroundTimeoutDescriptors(Set<LifecycleCallbackDescriptor> aroundTimeouts)
-
hasAroundTimeoutDescriptor
public boolean hasAroundTimeoutDescriptor()
-
getOrderedCallbackDescriptors
public List<LifecycleCallbackDescriptor> getOrderedCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type, ClassLoader loader) throws Exception
Some clients need the Callback methods for this inheritance hierarchy in the spec-defined "least derived --> most derived" order.- Throws:
Exception
-
addAroundConstructDescriptor
public void addAroundConstructDescriptor(LifecycleCallbackDescriptor lcDesc)
-
addPostActivateDescriptor
public void addPostActivateDescriptor(LifecycleCallbackDescriptor lcDesc)
-
addPrePassivateDescriptor
public void addPrePassivateDescriptor(LifecycleCallbackDescriptor lcDesc)
-
toString
public String toString()
- Overrides:
toString
in classDynamicAttributesDescriptor
- Returns:
- a meaningfull string about ourself No Descriptor class which inherits this class should override this method. Rather print() method which is defined in this class should be overridden to describe itself. Refer to the comments on print() method for more details. This method is optimized for persformance reasons.
-
-