com.sun.enterprise.deployment
Class InterceptorDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.JndiEnvironmentRefsGroupDescriptor
com.sun.enterprise.deployment.InterceptorDescriptor
- All Implemented Interfaces:
- JndiNameEnvironment, EjbReferenceContainer, MessageDestinationReferenceContainer, ResourceReferenceContainer, WritableJndiNameEnvironment, java.io.Serializable
- Direct Known Subclasses:
- EjbInterceptor
public class InterceptorDescriptor
- extends JndiEnvironmentRefsGroupDescriptor
Contains information about 1 Java EE interceptor.
- See Also:
- Serialized Form
| Methods inherited from class com.sun.enterprise.deployment.JndiEnvironmentRefsGroupDescriptor |
addCallbackDescriptor, addCallbackDescriptors, addDataSourceDefinitionDescriptor, addEjbReferenceDescriptor, addEntityManagerFactoryReferenceDescriptor, addEntityManagerReferenceDescriptor, addEnvironmentProperty, addJmsDestinationReferenceDescriptor, addMessageDestinationReferenceDescriptor, addPostConstructDescriptor, addPreDestroyDescriptor, addResourceReferenceDescriptor, addServiceReferenceDescriptor, getBundleDescriptor, getCallbackDescriptors, getDataSourceDefinitionDescriptors, getEjbReference, getEjbReferenceDescriptors, getEntityManagerFactoryReferenceByName, getEntityManagerFactoryReferenceDescriptors, getEntityManagerReferenceByName, getEntityManagerReferenceDescriptors, getEnvironmentProperties, getEnvironmentPropertyByName, getInjectableResourcesByClass, getInjectionInfoByClass, getJmsDestinationReferenceByName, getJmsDestinationReferenceDescriptors, getMessageDestinationReferenceByName, getMessageDestinationReferenceDescriptors, getPostConstructDescriptorByClass, getPostConstructDescriptors, getPreDestroyDescriptorByClass, getPreDestroyDescriptors, getResourceReferenceByName, getResourceReferenceDescriptors, getServiceReferenceByName, getServiceReferenceDescriptors, hasCallbackDescriptor, removeDataSourceDefinitionDescriptor, removeEjbReferenceDescriptor, removeEnvironmentProperty, removeJmsDestinationReferenceDescriptor, removeMessageDestinationReferenceDescriptor, removeResourceReferenceDescriptor, removeServiceReferenceDescriptor, setBundleDescriptor |
| Methods inherited from class com.sun.enterprise.deployment.Descriptor |
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 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 |
InterceptorDescriptor
public InterceptorDescriptor()
getInterceptorClassName
public java.lang.String getInterceptorClassName()
setInterceptorClassName
public void setInterceptorClassName(java.lang.String className)
getInterceptorClass
public java.lang.Class getInterceptorClass()
setInterceptorClass
public void setInterceptorClass(java.lang.Class c)
getAroundInvokeDescriptors
public java.util.Set<LifecycleCallbackDescriptor> getAroundInvokeDescriptors()
getOrderedAroundInvokeDescriptors
public java.util.List<LifecycleCallbackDescriptor> getOrderedAroundInvokeDescriptors(java.lang.ClassLoader loader)
throws java.lang.Exception
- Some clients need the AroundInvoke methods for this inheritance
hierarchy in the spec-defined "least derived --> most derived" order.
- Throws:
java.lang.Exception
getAroundTimeoutDescriptors
public java.util.Set<LifecycleCallbackDescriptor> getAroundTimeoutDescriptors()
getOrderedAroundTimeoutDescriptors
public java.util.List<LifecycleCallbackDescriptor> getOrderedAroundTimeoutDescriptors(java.lang.ClassLoader loader)
throws java.lang.Exception
- Some clients need the AroundTimeout methods for this inheritance
hierarchy in the spec-defined "least derived --> most derived" order.
- Throws:
java.lang.Exception
setFromBeanClass
public void setFromBeanClass(boolean flag)
getFromBeanClass
public boolean getFromBeanClass()
addAroundInvokeDescriptor
public void addAroundInvokeDescriptor(LifecycleCallbackDescriptor aroundInvokeDesc)
addAroundInvokeDescriptors
public void addAroundInvokeDescriptors(java.util.Set<LifecycleCallbackDescriptor> aroundInvokes)
hasAroundInvokeDescriptor
public boolean hasAroundInvokeDescriptor()
addAroundTimeoutDescriptor
public void addAroundTimeoutDescriptor(LifecycleCallbackDescriptor aroundTimeoutDesc)
addAroundTimeoutDescriptors
public void addAroundTimeoutDescriptors(java.util.Set<LifecycleCallbackDescriptor> aroundTimeouts)
hasAroundTimeoutDescriptor
public boolean hasAroundTimeoutDescriptor()
getOrderedCallbackDescriptors
public java.util.List<LifecycleCallbackDescriptor> getOrderedCallbackDescriptors(LifecycleCallbackDescriptor.CallbackType type,
java.lang.ClassLoader loader)
throws java.lang.Exception
- Some clients need the Callback methods for this inheritance
hierarchy in the spec-defined "least derived --> most derived" order.
- Throws:
java.lang.Exception
addPostActivateDescriptor
public void addPostActivateDescriptor(LifecycleCallbackDescriptor lcDesc)
addPrePassivateDescriptor
public void addPrePassivateDescriptor(LifecycleCallbackDescriptor lcDesc)
toString
public java.lang.String toString()
- Overrides:
toString in class DynamicAttributesDescriptor
- 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.
Copyright © 2012 GlassFish Community. All Rights Reserved.