|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerRegistrationService
This is the remote interface for an EJB that manages the persistent registration operations on WSRP consumers with this WSRP producer.
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<com.bea.wsrp.producer.types.wsrp_producer_config.RegistrationPropertyDescriptionType> |
getRegistrationProperties(List uris)
Deprecated |
List<IPropertyDescription> |
getRegistrationPropertyDescriptions(List<String> uris)
Retrieves all configured registration properties. |
List<RegistrationPropertyValue> |
getRegistrationPropertyValues(int registrationHandle)
Retrieves registration properties and their values for the given consumer. |
boolean |
isPortletAssociated(int registrationHandle,
int portletInstanceId)
Determines if a portlet is associated with a consumer. |
boolean |
isRegistered(int registrationHandle)
Checks to see if a given registrationHandle is valid. |
void |
modifyRegistration(int registrationHandle,
String consumerName,
String consumerAgent,
String webappName,
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. |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
int register(String webappName, String consumerName, String consumerAgent, Map properties, boolean isStrict) throws RemoteException
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
RemoteException
void modifyRegistration(int registrationHandle, String consumerName, String consumerAgent, String webappName, Map properties, boolean isStrict) throws RemoteException
registrationHandle
- The registration handle for the consumer to be deregisteredconsumerName
- The name of the webapp performing the registration modificationconsumerAgent
- The consumer's namewebappName
- The consumer's agentproperties
- The registration propertiesisStrict
- Flag to specify is modify registration should fail if any property
value is unacceptable
RemoteException
void deregister(int registrationHandle) throws RemoteException
registrationHandle
- The registration handle for the consumer to be deregistered
RemoteException
boolean isRegistered(int registrationHandle) throws RemoteException
registrationHandle
- The registration handle to check for validity
RemoteException
void associatePortletToConsumer(int registrationHandle, int portletInstanceId) throws RemoteException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
RemoteException
void dissociatePortletFromConsumer(int registrationHandle, int portletInstanceId) throws RemoteException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
RemoteException
boolean isPortletAssociated(int registrationHandle, int portletInstanceId) throws RemoteException
registrationHandle
- consumer registration handleportletInstanceId
- instance id of the portlet
RemoteException
@Deprecated List<com.bea.wsrp.producer.types.wsrp_producer_config.RegistrationPropertyDescriptionType> getRegistrationProperties(List uris) throws RemoteException
RemoteException
getRegistrationPropertyDescriptions(List)
List<IPropertyDescription> getRegistrationPropertyDescriptions(List<String> uris) throws RemoteException
uris
- The list of property set files to look at or null for all files
RemoteException
List<RegistrationPropertyValue> getRegistrationPropertyValues(int registrationHandle) throws RemoteException
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |