|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerRegistrationServiceLocal
Method Summary | |
---|---|
void |
associatePortletToConsumer(int registrationHandle,
int portletInstanceId)
Associates a portletInstance with the consumer that the former was created for. |
void |
deregister(int registrationHandle)
Deregisters a consumer with this producer. |
void |
dissociatePortletFromConsumer(int registrationHandle,
int portletInstanceId)
Dissociates a portlet from a consumer it is associated with. |
List<RegistrationPropertyDescriptionType> |
getRegistrationProperties(List uris)
Retrieves all configured registration properties. |
List<RegistrationPropertyValue> |
getRegistrationPropertyValues(int registrationHandle)
Retrieves registration properties and their values for the given consumer. |
boolean |
isRegistered(int registrationHandle)
Checks to see if a given registrationHandle is valid. |
void |
modifyRegistration(int registrationHandle,
String webappName,
String consumerName,
String consumerAgent,
Map properties,
boolean isStrict)
Modifies an existing registration for this producer. |
int |
register(String webappName,
String consumerName,
String consumerAgent,
Map properties,
boolean isStrict)
Registers a consumer with this producer. |
Method Detail |
---|
int register(String webappName, String consumerName, String consumerAgent, Map properties, boolean isStrict) throws EJBException
webappName
- The name of the webapp performing the registrationconsumerName
- The consumer's nameconsumerAgent
- The consumer's agentproperties
- The registration propertiesisStrict
- Flag to specify is registration should fail if any property value
is unacceptable
EJBException
void modifyRegistration(int registrationHandle, String webappName, String consumerName, String consumerAgent, Map properties, boolean isStrict) throws EJBException
registrationHandle
- The registration handle for the consumer to be deregisteredwebappName
- The name of the webapp performing the registration modificationconsumerName
- The consumer's nameconsumerAgent
- The consumer's agentproperties
- The registration propertiesisStrict
- Flag to specify is modify registration should fail if any property
value is unacceptable
EJBException
void deregister(int registrationHandle) throws EJBException
registrationHandle
- The registration handle for the consumer to be deregistered
EJBException
boolean isRegistered(int registrationHandle) throws EJBException
registrationHandle
- The registration handle to check for validity
EJBException
void associatePortletToConsumer(int registrationHandle, int portletInstanceId) throws EJBException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
EJBException
List<RegistrationPropertyDescriptionType> getRegistrationProperties(List uris) throws EJBException
EJBException
List<RegistrationPropertyValue> getRegistrationPropertyValues(int registrationHandle) throws EJBException
EJBException
void dissociatePortletFromConsumer(int registrationHandle, int portletInstanceId) throws Exception
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
Exception
- Indicates a generic error has occurred executing the operation
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |