|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.wsrp4j.producer.provider.pluto.driver.DescriptionHandlerImpl
DescriptionHandler| Field Summary | |
private java.lang.Boolean |
doesUrlTemplateProcessing
|
private Logger |
logger
|
private PersistentDataObject |
persistentDataObject
|
private PersistentHandler |
persistentHandler
|
private java.util.Map |
portletDescs
|
private PlutoPortletPool |
portletPool
|
private PlutoProvider |
provider
|
private oasis.names.tc.wsrp.v1.types.ServiceDescription |
serviceDescription
|
| Constructor Summary | |
private |
DescriptionHandlerImpl()
Default constructor of DescriptionHandler implementation |
| Method Summary | |
static DescriptionHandler |
create(Provider provider)
Creates a new DescriptionHandlerImpl-object. |
oasis.names.tc.wsrp.v1.types.PortletDescription |
getPortletDescription(java.lang.String portletHandle)
Returns the portlet description for a given portlet handle |
oasis.names.tc.wsrp.v1.types.PortletDescription |
getPortletDescription(java.lang.String portletHandle,
oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
oasis.names.tc.wsrp.v1.types.UserContext userContext,
java.lang.String[] desiredLocales)
Returns an PortletDescription for the given PortletHandle, only if the registration context allows this action |
protected oasis.names.tc.wsrp.v1.types.PortletDescription |
getPortletDescription(java.lang.String portletHandle,
java.lang.String[] desiredLocales)
Returns an PortletDescription, constructed from the corresponding portlet entity |
oasis.names.tc.wsrp.v1.types.PortletDescription[] |
getProducerOfferedPortletDescriptions(oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
java.lang.String[] desiredLocales)
Returns an array containing portlet descriptions, i.e. |
oasis.names.tc.wsrp.v1.types.ServiceDescription |
getServiceDescription(oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
java.lang.String[] desiredLocales)
Returns a ServiceDescription, based on the input arguments. |
boolean |
isRegistrationRequired()
Returns true, if registration is required on this producer |
void |
put(oasis.names.tc.wsrp.v1.types.ServiceDescription newServiceDescription)
Adds/replaces the ServiceDescription object in the DescriptionHandler and stores the object for persistency. |
private void |
restore()
Restores a single ServiceDescritpion |
private void |
store(PersistentDataObject persistentDataObject)
Stores the ServiceDescription to persistent store |
private void |
trace_getPortletDescription_args(java.lang.String portletHandle,
java.lang.String[] desiredLocales)
Trace input arguments for getPortletDescription method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private PlutoProvider provider
private PlutoPortletPool portletPool
private PersistentDataObject persistentDataObject
private PersistentHandler persistentHandler
private oasis.names.tc.wsrp.v1.types.ServiceDescription serviceDescription
private java.lang.Boolean doesUrlTemplateProcessing
private java.util.Map portletDescs
private Logger logger
| Constructor Detail |
private DescriptionHandlerImpl()
DescriptionHandler| Method Detail |
public static DescriptionHandler create(Provider provider)
provider - The provider for this DescriptionHandlerImpl
public oasis.names.tc.wsrp.v1.types.ServiceDescription getServiceDescription(oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
java.lang.String[] desiredLocales)
throws WSRPException
DescriptionHandler
getServiceDescription in interface DescriptionHandlerregContext - RegistrationContextdesiredLocales - String[]
WSRPException
public boolean isRegistrationRequired()
throws WSRPException
isRegistrationRequired in interface DescriptionHandlerWSRPException
public void put(oasis.names.tc.wsrp.v1.types.ServiceDescription newServiceDescription)
throws WSRPException
newServiceDescription - ServiceDescription
WSRPException
public oasis.names.tc.wsrp.v1.types.PortletDescription[] getProducerOfferedPortletDescriptions(oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
java.lang.String[] desiredLocales)
throws WSRPException
getProducerOfferedPortletDescriptions in interface DescriptionHandlerregContext - RegistrationContextdesiredLocales - array of requested locales, if null request all available locales
WSRPException
public oasis.names.tc.wsrp.v1.types.PortletDescription getPortletDescription(java.lang.String portletHandle,
oasis.names.tc.wsrp.v1.types.RegistrationContext regContext,
oasis.names.tc.wsrp.v1.types.UserContext userContext,
java.lang.String[] desiredLocales)
throws WSRPException
getPortletDescription in interface DescriptionHandlerportletHandle - PortletHandleregContext - the registration contextuserContext - the user contextdesiredLocales - the locales for which the description should be returned
WSRPException
protected oasis.names.tc.wsrp.v1.types.PortletDescription getPortletDescription(java.lang.String portletHandle,
java.lang.String[] desiredLocales)
throws WSRPException
portletHandle - String portlet handledesiredLocales - String[] desired locales
WSRPExceptionPortletDefinition,
PortletEntityRegistry
public oasis.names.tc.wsrp.v1.types.PortletDescription getPortletDescription(java.lang.String portletHandle)
throws WSRPException
getPortletDescription in interface DescriptionHandlerportletHandle - String representing a portlet's handle
WSRPException
private void store(PersistentDataObject persistentDataObject)
throws WSRPException
persistentDataObject -
WSRPException
private void restore()
throws WSRPException
WSRPException
private void trace_getPortletDescription_args(java.lang.String portletHandle,
java.lang.String[] desiredLocales)
portletHandle - as StringdesiredLocales - as String[]
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||