Interface WebComponentMetaData
- All Superinterfaces:
- com.ibm.ws.runtime.metadata.ComponentMetaData,- com.ibm.ws.runtime.metadata.MetaData
public interface WebComponentMetaData
extends com.ibm.ws.runtime.metadata.ComponentMetaData
The metadata for a component in a Web Module (ie., a Servlet, or a JSP or any other
 entity compiled as a Servlet), which gets shared accross components. Components
 can push their optimized config data associated with the servlet onto this
 metaData and they can retrieve them upon invocation wither from the invocation
 call or from the ThreadContext
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionintReturns the compiled classname of the associated componentReturns the list of PageList metaDatas associated with the component to which this metaData object is attached.Returns the securityMetaData object attached to the component associated with this metaData object NOTE: This method must only be invoked by security providers who had earlier pushed the securityMetaData objects into this metaData during metadata creation.Returns the IServletConfig interface associated with the component to wehich this metaData object is attached.Returns the description of the component associated with this metaData objectReturns the initialization parameters that have been configured for the component associated with tihs metaData Object.intReturns the type of component associated with this metadata object.Returns the version of the servlet specification this servlet is compliant with.voidvoidhandleCallbacks(int callbacksIdInt) booleanReturns whether or not the component associated with this metaData object is a JSP.intvoidsetSecurityMetaData(Object metaData) Call to push the securityMetaData into this metaData object at metaData creation time.Methods inherited from interface com.ibm.ws.runtime.metadata.ComponentMetaDatagetJ2EEName, getModuleMetaDataMethods inherited from interface com.ibm.ws.runtime.metadata.MetaDatagetMetaData, getName, release, setMetaData
- 
Field Details- 
SERVLETstatic final int SERVLET- See Also:
 
- 
JSPstatic final int JSP- See Also:
 
 
- 
- 
Method Details- 
getWebComponentTypeint getWebComponentType()Returns the type of component associated with this metadata object. The current types are SERVLET and JSP- Returns:
 
- 
getWebComponentVersionString getWebComponentVersion()Returns the version of the servlet specification this servlet is compliant with.- Returns:
 
- 
getImplementationClassString getImplementationClass()Returns the compiled classname of the associated component- Returns:
 
- 
isTypeJSPboolean isTypeJSP()Returns whether or not the component associated with this metaData object is a JSP.- Returns:
 
- 
getWebComponentDescriptionString getWebComponentDescription()Returns the description of the component associated with this metaData object- Returns:
 
- 
getWebComponentInitParametersMap getWebComponentInitParameters()Returns the initialization parameters that have been configured for the component associated with tihs metaData Object.- Returns:
 
- 
getPageListMetaDataArrayList getPageListMetaData()Returns the list of PageList metaDatas associated with the component to which this metaData object is attached.- Returns:
 
- 
getServletConfigIServletConfig getServletConfig()Returns the IServletConfig interface associated with the component to wehich this metaData object is attached.- Returns:
 
- 
getSecurityMetaDataObject getSecurityMetaData()Returns the securityMetaData object attached to the component associated with this metaData object NOTE: This method must only be invoked by security providers who had earlier pushed the securityMetaData objects into this metaData during metadata creation.- Returns:
 
- 
setSecurityMetaDataCall to push the securityMetaData into this metaData object at metaData creation time. This is typically done by security providers, who push security constraint representations for the component associated with this metaData object, only to retrieve it again at the time when the component is invoked at runtime.- Parameters:
- metaData-
 
- 
handleCallbacksvoid handleCallbacks()
- 
setCallbacksIDint setCallbacksID()
- 
getCallbacksIdint getCallbacksId()
- 
handleCallbacksvoid handleCallbacks(int callbacksIdInt) 
 
-