|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.wsrp.ConsumerRegistryImpl
public class ConsumerRegistryImpl
Constructor Summary | |
---|---|
ConsumerRegistryImpl(org.apache.wsrp4j.producer.provider.Provider provider)
|
Method Summary | |
---|---|
boolean |
check(java.lang.String regHandle)
Evaluates whether a registration with regHandle exists or not. |
void |
deregister(java.lang.String regHandle)
Deletes the registration of a certain consumer (identified by regHandle) from the hashmap. |
org.apache.wsrp4j.producer.Registration |
get(java.lang.String regHandle)
Returns a certain registration identified by regHandle. |
java.util.Iterator |
getAll()
Returns all registrations (of all consumers) currently stored in the hashmap. |
boolean |
isRegistrationRequired()
Provides information about whether this producer requires registration or not. |
org.apache.wsrp4j.producer.Registration |
register(oasis.names.tc.wsrp.v1.types.RegistrationData registrationData)
Creates a new registration-object for a certain consumer, adds it to the hashmap and returns it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConsumerRegistryImpl(org.apache.wsrp4j.producer.provider.Provider provider) throws org.apache.wsrp4j.exception.WSRPException
org.apache.wsrp4j.exception.WSRPException
Method Detail |
---|
public boolean isRegistrationRequired()
isRegistrationRequired
in interface org.apache.wsrp4j.producer.ConsumerRegistry
public org.apache.wsrp4j.producer.Registration register(oasis.names.tc.wsrp.v1.types.RegistrationData registrationData) throws org.apache.wsrp4j.exception.WSRPException
register
in interface org.apache.wsrp4j.producer.ConsumerRegistry
registrationData
- RegistrationData-object
org.apache.wsrp4j.exception.WSRPException
public org.apache.wsrp4j.producer.Registration get(java.lang.String regHandle)
get
in interface org.apache.wsrp4j.producer.ConsumerRegistry
regHandle
- String representing the regHandle.
public java.util.Iterator getAll()
getAll
in interface org.apache.wsrp4j.producer.ConsumerRegistry
public void deregister(java.lang.String regHandle)
deregister
in interface org.apache.wsrp4j.producer.ConsumerRegistry
regHandle
- String representing the regHandle.public boolean check(java.lang.String regHandle)
check
in interface org.apache.wsrp4j.producer.ConsumerRegistry
regHandle
- String representing the regHandle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |