|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.web.RequestHandler
com.bea.adapter.web.AbstractDesignTimeRequestHandler
Provides an implementation for common actions in a design time Web application for deploying application views and connection factories.
Nested Class Summary |
Nested classes inherited from class com.bea.web.RequestHandler |
RequestHandler.PageLinkage |
Field Summary | |
static String |
CONNECTION_PROPERTY
|
static int |
iDEPLOYED
|
static int |
iINITIALIZED
|
static int |
iREADY_TO_ADD
|
static int |
iREADY_TO_DEPLOY
|
static int |
iUNINITIALIZED
These static final ints are used to indicate the state of an application view descriptor. |
protected javax.resource.cci.ConnectionFactory |
m_connectionFactory
|
protected javax.resource.cci.Connection |
m_proxy
|
static String |
QUALIFIED_APP_VIEW_NAME
|
protected javax.resource.cci.Connection |
t_connection
|
protected com.bea.wlai.client.DesignTimeHelper |
t_dtHelper
|
protected InitialContext |
t_initialContext
|
Constructor Summary | |
AbstractDesignTimeRequestHandler()
Initializes an initial context to ensure we are running in a valid environment. |
Method Summary | |
ActionResult |
addevent(HttpServletRequest request)
Adds an event to the application view. |
void |
addEventSchemaToRepository(com.bea.wlai.common.IApplicationViewDescriptor avd,
com.bea.wlai.common.IEventDescriptor ed,
com.bea.document.IDocumentDefinition eventDef)
Adds the schema for an event to the repository. |
void |
addEventSchemaToRepository(com.bea.wlai.common.IEventDescriptor ed,
com.bea.document.IDocumentDefinition eventDef)
Adds the schema for an event to the repository. |
protected com.bea.wlai.common.IDocumentDescriptor |
addOrUpdateSchema(com.bea.wlai.client.SchemaManager schemaManager,
com.bea.wlai.common.QualifiedName schemaQName,
com.bea.document.IDocumentDefinition def)
|
com.bea.wlai.common.QualifiedName |
addSchemaToRepository(String strKey,
com.bea.schema.SOMSchema schema)
Deprecated. This method should not be used going forward as it does not take into account updating existing schemas or adding both request and response schemas to the repository in one logical unit of work. The preferred approach is to use the addServiceSchemasToRepository
or addEventSchemaToRepository methods directly. |
ActionResult |
addservc(HttpServletRequest request)
Adds a service to the application view...This method corresponds to a JSP page named addservc. |
void |
addServiceSchemasToRepository(com.bea.wlai.common.IApplicationViewDescriptor avd,
com.bea.wlai.common.IServiceDescriptor sd,
com.bea.document.IDocumentDefinition requestDef,
com.bea.document.IDocumentDefinition responseDef)
Adds the request and response schemas for a service to the WLI repository. |
void |
addServiceSchemasToRepository(com.bea.wlai.common.IServiceDescriptor sd,
com.bea.document.IDocumentDefinition requestDef,
com.bea.document.IDocumentDefinition responseDef)
Adds the request and response schemas for a service to the WLI repository. |
ActionResult |
appvwadmin(HttpServletRequest request)
This method is used if the 'save' button is clicked on the appvwadmin.jsp. |
protected Properties |
captureBeanParameters(Class beanClass)
Uses java reflection to capture parameters that eventually would be set on the Bean using values found in the current HTTP session for this handler. |
protected Properties |
captureManagedConnectionFactoryParameters()
|
protected Properties |
captureResourceAdapterParameters()
|
protected void |
closeConnection()
This method safely closes the connection handle to the EIS. |
ActionResult |
confconn(HttpServletRequest request)
Configures a connection to the underlying EIS. |
ActionResult |
confevent(HttpServletRequest request)
Configures the adapter instance used for event delivery. |
protected javax.resource.spi.ManagedConnectionFactory |
configureManagedConnectionFactory(Map props)
Instantiates and configures an instance of an adapter specific class that implements the javax.resource.spi.ManagedConnectionFactory
interface. |
protected ResourceAdapter |
configureResourceAdapter(Map props)
Instantiates and configures an instance of an adapter specific class that implements the com.bea.connector.ResourceAdapter
interface. |
ActionResult |
conninfo(HttpServletRequest request)
This method is used if the 'connection info' link is clicked on the appvwadmin.jsp. |
com.bea.wlai.common.IApplicationViewDescriptor |
createApplicationViewDescriptor(String appViewName)
This convenience method gets an application view descriptor from the deployManager for a given application view. |
protected void |
debugDocument(String strMessage,
ILogger logger,
com.bea.document.IDocument doc)
|
ActionResult |
depappvw(HttpServletRequest request,
String sourcePage)
Deploys an application view onto the WLAI server; this method performs the processing of the "depappvw" action. |
void |
editEventDescriptor(ActionResult result,
com.bea.wlai.common.IEventDescriptor event,
HttpServletRequest request)
This method is called by the edtservc response method. |
void |
editServiceDescriptor(ActionResult result,
com.bea.wlai.common.IServiceDescriptor service,
HttpServletRequest request)
This method is called by the edtservc response method. |
ActionResult |
edtappvw(HttpServletRequest request)
This method handles the edit application view action. |
ActionResult |
edtevent(HttpServletRequest request)
Edits an Event. |
ActionResult |
edtservc(HttpServletRequest request)
Edits a service. |
ActionResult |
finalconfig(HttpServletRequest request)
This method is used if the 'final configuration' button is clicked on the appvwadmin.jsp. |
void |
finalize()
This method is used to assure that the EIS connection (a javax.resource.cci.Connection) is closed properly. |
com.bea.adapter.web.AbstractDesignTimeRequestHandler.AdapterContext |
getAdapterContext()
This method allows you to get the context necessary to identify/locate the active adapter instance and connection factory. |
String |
getAdapterContextFromRequest(HttpServletRequest request)
Calculate the adapter context given the current request object |
protected abstract String |
getAdapterLogicalName()
An abstract method which must be implemented by the adapter developer to return the AdapterLogicalName of their adapter |
String |
getAdapterLogicalNamePublic()
HACK: Need access to this. |
com.bea.wlai.client.AdapterManager |
getAdapterManager()
|
com.bea.wlai.client.ApplicationView |
getApplicationView(String strFullyQualifiedName)
This method is the accessor for the current application view. |
com.bea.wlai.common.IApplicationViewDescriptor |
getApplicationViewDescriptor()
This method returns the application view descriptor member of the current app view. |
com.bea.wlai.common.IApplicationViewDescriptor |
getApplicationViewDescriptor(String strName)
|
com.bea.wlai.common.IApplicationViewDescriptor |
getApplicationViewDescriptor(String strName,
boolean allowNonExistent)
|
int |
getApplicationViewDescriptorState()
Returns the current state of the application view descriptor; used by the classes in the ADK Designtime Framework needing the state for conditional display logic. |
com.bea.wlai.client.ApplicationViewManager |
getApplicationViewManager()
This is the accessor method for the ApplicationViewManager, an external interface to the ApplicationViewManager EJB |
protected com.bea.wlai.common.QualifiedName |
getAppViewName(HttpServletRequest request)
|
javax.resource.cci.Connection |
getConnection()
This method returns the javax.resource.cci.Connection object that is a member variable of this class. |
javax.resource.cci.ConnectionFactory |
getConnectionFactory()
This method returns the javax.resource.cci.ConnectionFactory object that is a member variable of this class. |
com.bea.wlai.client.DeployManager |
getDeployManager()
|
com.bea.wlai.client.DesignTimeHelper |
getDesignTimeHelper()
Get the DesignTimeHelper being used by this AbstractRequestHandler. |
String |
getEventSchemaName(com.bea.wlai.common.IEventDescriptor ed)
Convenience method to retrieve the event schema's name. |
protected InitialContext |
getInitialContext()
Provides an initial JNDI context |
javax.resource.cci.InteractionSpec |
getInteractionSpecForService(com.bea.wlai.client.ApplicationView av,
String strService)
Deprecated. - this method should not be used because binding the InteractionSpec into JNDI can lead to class loading issues. Instead, you should get the IServiceDescriptor from the IApplicationViewDescriptor to get properties for a service. |
protected abstract Class |
getManagedConnectionFactoryClass()
An abstract method which must be implemented by the adapter developer to return the ManagedConnectionFactory class of their adapter. |
com.bea.wlai.client.NamespaceManager |
getNamespaceManager()
This is the accessor method for the NamespaceManager, an external interface to the NamespaceManager EJB |
protected String |
getNextAction(String strAction)
A no-op method (returns null by default) that adapter developers can override to alter the screen flow. |
String |
getNextPage()
Gets the 'hint' for what the next page is supposed to be. |
com.bea.wlai.common.QualifiedName |
getQualifiedName(String strQualifiedName)
|
String |
getRequestSchemaName(com.bea.wlai.common.IServiceDescriptor sd)
Convenience method to retrieve the service request schema's name. |
Class |
getResourceAdapterClass()
An abstract method which must be implemented by the adapter developer to return the ResourceAdapter class of their adapter. |
String |
getResponseSchemaName(com.bea.wlai.common.IServiceDescriptor sd)
Convenience method to retrieve the service response schema's name. |
String |
getRootLogContext()
Defines the root log context value for this adapter. |
com.bea.wlai.client.SchemaManager |
getSchemaManager()
This is the accessor method for the SchemaManager, an external interface to the SchemaManager EJB |
IMutableVariableSet |
getVariableSet()
Get the variable set instance being manipulated/displayed by the varset JSP page, or null if none has been set. |
protected abstract void |
initEventDescriptor(ActionResult result,
com.bea.wlai.common.IEventDescriptor ed,
HttpServletRequest request)
Initializes an event descriptor. |
protected abstract void |
initServiceDescriptor(ActionResult result,
com.bea.wlai.common.IServiceDescriptor sd,
HttpServletRequest request)
Initializes a service descriptor which involves creating the request and response schemas for the service. |
ActionResult |
loadConfconnProperties(HttpServletRequest request)
Maps properties from the request to fields on the confconn html page. |
void |
loadEventDescriptorProperties(HttpServletRequest request)
Maps properties to fields on the html page. |
void |
loadServiceDescriptorProperties(HttpServletRequest request)
Maps properties to fields on the html page. |
ActionResult |
redepappvw(HttpServletRequest request)
Re-deploy a previously deployed application view directly from the appvwsum page. |
void |
releaseManagers()
|
ActionResult |
remappvw(HttpServletRequest request)
This method is used to DELETE an application view from the repository. |
int |
resetApplicationViewDescriptor(String strQualifiedAppViewName)
Resets our internal representation of an application view to arg if needed |
protected void |
savePropertiesFromAdapter(ResourceAdapter adapter,
com.bea.wlai.common.IAdapterDescriptor ad)
This method uses java reflection to save the appropriate properties from the ResourceAdapter instance to the given IAdapterDescriptor instance. |
protected void |
savePropertiesFromBean(Object bean,
com.bea.wlai.common.IPropertiedDescriptor dd)
This method uses java reflection to save the appropriate properties from the given JavaBean instance to a propertied descriptor instance. |
protected void |
savePropertiesFromFactory(javax.resource.spi.ManagedConnectionFactory factory,
com.bea.wlai.common.IConnectionFactoryDescriptor cfd)
This method uses java reflection to save the appropriate properties from the ManagedConnectionFactory to the given IConnectionFactoryDescriptor. |
void |
setAdapterContext(com.bea.adapter.web.AbstractDesignTimeRequestHandler.AdapterContext adapterContext)
This method allows you to set the context necessary to identify/locate the active adapter instance and connection factory. |
void |
setAdapterLogicalName(String aln)
|
void |
setApplicationViewDescriptor(com.bea.wlai.common.IApplicationViewDescriptor avd)
This method allows you to set the member variable m_avd by passing in an IApplicationViewDescriptor. |
protected void |
setBeanParameters(Class beanClass,
Object bean,
Map props)
Uses java reflection to set parameters on the Bean using values found in the current HTTP session for this handler. |
void |
setDesignTimeContext(HttpServletRequest request)
Sets the context for the design-time session by fetching the values from the given HttpServletRequest. |
void |
setDesignTimeContext(String appName,
File appRootDir)
Sets the application name and root directory for the design-time session. |
void |
setLogContextName(String strLogContextName)
Overrides parent's method to append .DesignTime onto the log context. |
protected void |
setManagedConnectionParameters(Class managedConnectionFactoryClass,
Object objMcf,
Map props)
Uses java reflection to set connection parameters on the ManagedConnectionFactory using values found in the current HTTP session for this handler. |
void |
setNextPage(String page)
Sets the 'hint' for what the next page is supposed to be. |
protected void |
setResourceAdapterParameters(Class resourceAdapterClass,
Object objRA,
Map props)
Uses java reflection to set connection parameters on the ManagedConnectionFactory using values found in the current HTTP session for this handler. |
void |
setVariableSet(IMutableVariableSet varSet)
Set the variable set instance to be manipulated/displayed by the varset JSP page. |
void |
setVariableSetHasNewValues(boolean newValue)
Set a flag indicating that we just applied new values to the variable set. |
boolean |
supportsEditableEvents()
Used by the designtime web frame work to determine if an adapter supports editing of events. |
boolean |
supportsEditableServices()
Used by the designtime web frame work to determine if an adapter supports editing of services. |
boolean |
supportsEvents()
Used by the designtime web frame work to determine if an adapter supports events. |
boolean |
supportsEventTest()
Used by the designtime web frame work to determine if an adapter supports the testing of events. |
boolean |
supportsServices()
Used by the designtime web frame work to determine if an adapter supports services. |
boolean |
supportsServiceTest()
Used by the designtime web frame work to determine if an adapter supports the testing of services. |
boolean |
supportsVariables()
Used by the designtime web frame work to determine if an adapter supports the definition and use of variables. |
ActionResult |
undepappvw(HttpServletRequest request)
This method is used to undeploy an application view from the server, yet leave it in the repository for future editing or deployment. |
void |
updateSchemaInRepository(String strSchemaName,
com.bea.schema.SOMSchema schema)
Deprecated. This method should not be used going forward. The preferred approach is to use the addServiceSchemasToRepository
or addEventSchemaToRepository methods directly. |
protected javax.resource.spi.ManagedConnectionFactory |
validateConnectionParameters(Map props)
Verifies that the user supplied connection paramters are sufficient to configure an SPI ManagedConnectionFactory instance to open a connection to the underlying EIS. |
protected ResourceAdapter |
validateResourceAdapterParameters(Map props)
Verifies that the user supplied event parameters are sufficient to configure an XCCI ResourceAdapter instance. |
boolean |
variableSetHasNewValues()
Get a flag indicating if we just applied new values to the variable set. |
ActionResult |
varset(HttpServletRequest request)
|
Methods inherited from class com.bea.web.RequestHandler |
appendNullableParameterToURL, clear, containsField, debug, get, getAdditionalExceptionMessages, getAndRemove, getContent, getContent, getContent, getFormFieldPair, getLogConfigFile, getLogContext, getLogger, getMessageBundleBase, getResourceBundle, getUserAgent, getUserName, init, peekPageLinkage, popPageLinkage, pushPageLinkage, pushPageLinkage, read, remove, set, setLocale, setLogConfigFile, setMessageBundleBase, setUserAgent, setUserName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String QUALIFIED_APP_VIEW_NAME
public static final String CONNECTION_PROPERTY
public static final int iUNINITIALIZED
public static final int iINITIALIZED
public static final int iREADY_TO_ADD
public static final int iREADY_TO_DEPLOY
public static final int iDEPLOYED
protected transient javax.resource.cci.Connection m_proxy
protected transient javax.resource.cci.Connection t_connection
protected javax.resource.cci.ConnectionFactory m_connectionFactory
protected transient com.bea.wlai.client.DesignTimeHelper t_dtHelper
protected transient InitialContext t_initialContext
Constructor Detail |
public AbstractDesignTimeRequestHandler() throws NamingException, com.bea.wlai.client.NamespaceException, javax.ejb.CreateException, RemoteException
Method Detail |
protected abstract String getAdapterLogicalName()
public String getAdapterLogicalNamePublic()
public void setAdapterLogicalName(String aln)
public String getRootLogContext()
public Class getResourceAdapterClass()
protected abstract Class getManagedConnectionFactoryClass()
protected abstract void initServiceDescriptor(ActionResult result, com.bea.wlai.common.IServiceDescriptor sd, HttpServletRequest request) throws Exception
result
- - indicates the success or failure of the action; when
the object is passed in, it is configured for success. If an error
condition occurs in this method, the result can be changed.sd
- - an object that describes a service for an application view.request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addservc method.
Exception
- if an error occurs while attempting to create the request
and/or response schemas via a call to the EIS.protected abstract void initEventDescriptor(ActionResult result, com.bea.wlai.common.IEventDescriptor ed, HttpServletRequest request) throws Exception
result
- - indicates the success or failure of the action; when
the object is passed in, it is configured for success. If an error
condition occurs in this method, the result can be changed.ed
- - provides information about an event for an application view;
schema name, etc.request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addevent method.
Exception
- if an error occurs while initializing the event
descriptorpublic void setDesignTimeContext(HttpServletRequest request) throws Exception
request
- The HttpServletRequest for the current web page request.
The appName parameter in request provides the application name,
and the appRootDir parameter in request provides the application
root directory path. If either of these parameters is missing or
empty, an exception is thrown.
Exception
public void setDesignTimeContext(String appName, File appRootDir) throws Exception
appName
- The name of the application that will host the
ApplicationViews defined during this session.appRootDir
- The root directory of the project for the application named
by appName. All repository objects will be written to a repository
directory under the root (currently Exception
public void setLogContextName(String strLogContextName)
setLogContextName
in class RequestHandler
public com.bea.wlai.client.DesignTimeHelper getDesignTimeHelper()
protected InitialContext getInitialContext() throws NamingException
NamingException
public com.bea.wlai.client.ApplicationViewManager getApplicationViewManager() throws com.bea.wlai.client.NamespaceException, NamingException, javax.ejb.CreateException, RemoteException
com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
public void releaseManagers()
public com.bea.wlai.client.AdapterManager getAdapterManager() throws com.bea.wlai.client.NamespaceException, NamingException, javax.ejb.CreateException, RemoteException
com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
public com.bea.wlai.client.NamespaceManager getNamespaceManager() throws com.bea.wlai.client.NamespaceException, NamingException, javax.ejb.CreateException, RemoteException
com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
public com.bea.wlai.client.SchemaManager getSchemaManager() throws com.bea.wlai.client.NamespaceException, NamingException, javax.ejb.CreateException, RemoteException
com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
public com.bea.wlai.client.DeployManager getDeployManager() throws com.bea.wlai.client.NamespaceException, NamingException, javax.ejb.CreateException, RemoteException
com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
public com.bea.wlai.client.ApplicationView getApplicationView(String strFullyQualifiedName) throws Exception
strFullyQualifiedName
- is the qualified name of the application view.
Exception
public javax.resource.cci.InteractionSpec getInteractionSpecForService(com.bea.wlai.client.ApplicationView av, String strService) throws Exception
av
- is the ApplicationView objectstrService
- is the String service name
Exception
public javax.resource.cci.Connection getConnection() throws Exception
Exception
- if the connection cannot be obtained.public javax.resource.cci.ConnectionFactory getConnectionFactory() throws Exception
Exception
- if the connection cannot be obtained.protected void closeConnection()
public com.bea.wlai.common.IApplicationViewDescriptor createApplicationViewDescriptor(String appViewName)
appViewName
- is the String name of the application view
public com.bea.wlai.common.IApplicationViewDescriptor getApplicationViewDescriptor()
public com.bea.wlai.common.IApplicationViewDescriptor getApplicationViewDescriptor(String strName) throws com.bea.wlai.client.ApplicationViewException, NamingException, javax.ejb.CreateException, RemoteException, com.bea.wlai.client.NamespaceException
com.bea.wlai.client.ApplicationViewException
NamingException
javax.ejb.CreateException
RemoteException
com.bea.wlai.client.NamespaceException
public com.bea.wlai.common.IApplicationViewDescriptor getApplicationViewDescriptor(String strName, boolean allowNonExistent) throws com.bea.wlai.client.ApplicationViewException, NamingException, javax.ejb.CreateException, RemoteException, com.bea.wlai.client.NamespaceException
com.bea.wlai.client.ApplicationViewException
NamingException
javax.ejb.CreateException
RemoteException
com.bea.wlai.client.NamespaceException
public void setApplicationViewDescriptor(com.bea.wlai.common.IApplicationViewDescriptor avd)
avd
- is an IApplicationViewDescriptorpublic void setAdapterContext(com.bea.adapter.web.AbstractDesignTimeRequestHandler.AdapterContext adapterContext)
adapterContext
- is the information needed to establish a usable
context for editing/viewing adapter instances and connection
factories.).public com.bea.adapter.web.AbstractDesignTimeRequestHandler.AdapterContext getAdapterContext()
public void setNextPage(String page)
public String getNextPage()
public int resetApplicationViewDescriptor(String strQualifiedAppViewName) throws Exception
Exception
public com.bea.wlai.common.QualifiedName addSchemaToRepository(String strKey, com.bea.schema.SOMSchema schema) throws Exception
addServiceSchemasToRepository
or addEventSchemaToRepository
methods directly.
strKey
- - the key for the schema in the repositoryschema
- - the schema object to add to the repository
Exception
- - An exceptional condition was encountered while trying
to add the schema to the repository.public void updateSchemaInRepository(String strSchemaName, com.bea.schema.SOMSchema schema) throws Exception
addServiceSchemasToRepository
or addEventSchemaToRepository
methods directly.
strSchemaName
- - the key for the schema in the repositoryschema
- - the schema object to update in the repository
Exception
- - An exceptional condition was encountered while trying
to update the schema in the repository.public void addServiceSchemasToRepository(com.bea.wlai.common.IServiceDescriptor sd, com.bea.document.IDocumentDefinition requestDef, com.bea.document.IDocumentDefinition responseDef) throws Exception
Exception
public void addEventSchemaToRepository(com.bea.wlai.common.IEventDescriptor ed, com.bea.document.IDocumentDefinition eventDef) throws Exception
Exception
public void addServiceSchemasToRepository(com.bea.wlai.common.IApplicationViewDescriptor avd, com.bea.wlai.common.IServiceDescriptor sd, com.bea.document.IDocumentDefinition requestDef, com.bea.document.IDocumentDefinition responseDef) throws Exception
Exception
public void addEventSchemaToRepository(com.bea.wlai.common.IApplicationViewDescriptor avd, com.bea.wlai.common.IEventDescriptor ed, com.bea.document.IDocumentDefinition eventDef) throws Exception
Exception
protected com.bea.wlai.common.IDocumentDescriptor addOrUpdateSchema(com.bea.wlai.client.SchemaManager schemaManager, com.bea.wlai.common.QualifiedName schemaQName, com.bea.document.IDocumentDefinition def) throws Exception
Exception
public com.bea.wlai.common.QualifiedName getQualifiedName(String strQualifiedName) throws NamingException, javax.ejb.CreateException, RemoteException, com.bea.wlai.client.NamespaceException
NamingException
javax.ejb.CreateException
RemoteException
com.bea.wlai.client.NamespaceException
public void finalize()
public int getApplicationViewDescriptorState()
protected String getNextAction(String strAction)
strAction
- is the action for which we want to get the next
action (jsp screen) in our screen flow. The code elsewhere in this
class that calls this method always checks for null before moving
forward.
public String getAdapterContextFromRequest(HttpServletRequest request)
public ActionResult loadConfconnProperties(HttpServletRequest request) throws Exception
request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the confconn method.
Exception
- if an error occurs while initializing the parameterspublic ActionResult confconn(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult confevent(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
protected com.bea.wlai.common.QualifiedName getAppViewName(HttpServletRequest request) throws Exception
Exception
public ActionResult redepappvw(HttpServletRequest request) throws Exception
Exception
public ActionResult depappvw(HttpServletRequest request, String sourcePage) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult finalconfig(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult conninfo(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult appvwadmin(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult edtappvw(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult undepappvw(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public ActionResult remappvw(HttpServletRequest request) throws Exception
request
- is the HttpServletRequest
Exception
public String getEventSchemaName(com.bea.wlai.common.IEventDescriptor ed)
ed
- is an IEventDescriptor
public String getRequestSchemaName(com.bea.wlai.common.IServiceDescriptor sd)
sd
- is an IServiceDescriptor
public String getResponseSchemaName(com.bea.wlai.common.IServiceDescriptor sd)
sd
- is an IServiceDescriptor
protected javax.resource.spi.ManagedConnectionFactory validateConnectionParameters(Map props) throws Exception
Exception
- if the connection object is null.protected javax.resource.spi.ManagedConnectionFactory configureManagedConnectionFactory(Map props) throws ClassNotFoundException, IllegalAccessException, InstantiationException, IntrospectionException, InvocationTargetException
javax.resource.spi.ManagedConnectionFactory
interface. This method obtains the class instance for the
ManagedConnectionFactory by calling the getManagedConnectionFactoryClass
method. It then populates the ManagedConnectionFactory instance by
calling the setManagedConnectionParameters method.
ClassNotFoundException
IllegalAccessException
InstantiationException
IntrospectionException
InvocationTargetException
getManagedConnectionFactoryClass()
,
setManagedConnectionParameters(java.lang.Class, java.lang.Object, java.util.Map)
protected Properties captureManagedConnectionFactoryParameters() throws ClassNotFoundException, IllegalAccessException, IntrospectionException, InvocationTargetException
ClassNotFoundException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected Properties captureResourceAdapterParameters() throws ClassNotFoundException, IllegalAccessException, IntrospectionException, InvocationTargetException
ClassNotFoundException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected void setManagedConnectionParameters(Class managedConnectionFactoryClass, Object objMcf, Map props) throws IllegalAccessException, IntrospectionException, InvocationTargetException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected ResourceAdapter validateResourceAdapterParameters(Map props) throws Exception
Exception
- if any error occursprotected ResourceAdapter configureResourceAdapter(Map props) throws ClassNotFoundException, IllegalAccessException, InstantiationException, IntrospectionException, InvocationTargetException
com.bea.connector.ResourceAdapter
interface. This method obtains the class instance for the
ResourceAdapter by calling the getResourceAdapterClass
method. It then populates the ResourceAdapter instance by
calling the setResourceAdapterParameters method.
ClassNotFoundException
IllegalAccessException
InstantiationException
IntrospectionException
InvocationTargetException
protected void setResourceAdapterParameters(Class resourceAdapterClass, Object objRA, Map props) throws IllegalAccessException, IntrospectionException, InvocationTargetException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected void setBeanParameters(Class beanClass, Object bean, Map props) throws IllegalAccessException, IntrospectionException, InvocationTargetException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected Properties captureBeanParameters(Class beanClass) throws IllegalAccessException, IntrospectionException, InvocationTargetException
IllegalAccessException
IntrospectionException
InvocationTargetException
protected void savePropertiesFromFactory(javax.resource.spi.ManagedConnectionFactory factory, com.bea.wlai.common.IConnectionFactoryDescriptor cfd) throws Exception
factory
- is the ManagedConnectionFactory whose properties need saving.cfd
- is the IConnectionFactoryDescriptor to which the properties
contained in factory will be saved.
Exception
protected void savePropertiesFromAdapter(ResourceAdapter adapter, com.bea.wlai.common.IAdapterDescriptor ad) throws Exception
Exception
protected void savePropertiesFromBean(Object bean, com.bea.wlai.common.IPropertiedDescriptor dd) throws Exception
bean
- is the JavaBean whose properties need saving.dd
- is the IPropertiedDescriptor to which the properties
contained in bean will be saved.
Exception
public boolean supportsEvents()
public boolean supportsServices()
public boolean supportsServiceTest()
public boolean supportsEventTest()
public boolean supportsEditableEvents()
public boolean supportsVariables()
public boolean supportsEditableServices()
public ActionResult addservc(HttpServletRequest request) throws Exception
Exception
public ActionResult edtservc(HttpServletRequest request) throws Exception
Exception
public void loadServiceDescriptorProperties(HttpServletRequest request) throws Exception
request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addevent method.
Exception
- if an error occurs while initializing the event
descriptorpublic void editServiceDescriptor(ActionResult result, com.bea.wlai.common.IServiceDescriptor service, HttpServletRequest request) throws Exception
result
- - indicates the success or failure of the action; when
the object is passed in, it is configured for success. If an error
condition occurs in this method, the result can be changed.request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addservc method.
Exception
- if an error occurs while initializing the event
descriptorpublic ActionResult addevent(HttpServletRequest request) throws Exception
Exception
public ActionResult edtevent(HttpServletRequest request) throws Exception
Exception
public void loadEventDescriptorProperties(HttpServletRequest request) throws Exception
request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addevent method.
Exception
- if an error occurs while initializing the event
descriptorpublic void editEventDescriptor(ActionResult result, com.bea.wlai.common.IEventDescriptor event, HttpServletRequest request) throws Exception
result
- - indicates the success or failure of the action; when
the object is passed in, it is configured for success. If an error
condition occurs in this method, the result can be changed.request
- - the HTTP request to access any parameters that are not
validated by the controller servlet prior to invoking the addservc method.
Exception
- if an error occurs while initializing the event
descriptorprotected void debugDocument(String strMessage, ILogger logger, com.bea.document.IDocument doc)
public void setVariableSet(IMutableVariableSet varSet)
public IMutableVariableSet getVariableSet()
public void setVariableSetHasNewValues(boolean newValue)
public boolean variableSetHasNewValues()
public ActionResult varset(HttpServletRequest request) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |