Package com.portal.bas
Class PControllerBaseImpl
java.lang.Object
com.portal.bas.PControllerBaseImpl
- All Implemented Interfaces:
PControllerBaseBean,Serializable,Remote
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PortalContextReturns the current connection context.protected voidReleases the connection retrieved bygetContext().voidSets the client service instance for this component for an application which uses multiple services (WebKit)
-
Constructor Details
-
PControllerBaseImpl
public PControllerBaseImpl()Create an instance of the PControllerBaseImpl- Throws:
RemoteException
-
-
Method Details
-
setCustomServices
Sets the client service instance for this component for an application which uses multiple services (WebKit)- Specified by:
setCustomServicesin interfacePControllerBaseBean- Parameters:
service- the client services instance
-
getContext
Returns the current connection context. May be null if no connection to Portal has been made. For every call togetContext()there must be a corresponding call toreleaseContext().- Returns:
- A PortalContext object or null
- Throws:
RemoteException- See Also:
-
releaseContext
Releases the connection retrieved bygetContext(). For every call togetContext()there must be a corresponding call toreleaseContext(). This method doesn't do anything if there is no connection pool.- Parameters:
ctx- the connection to be released.- Throws:
RemoteException- See Also:
-