|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the Portlet Consumer Registry Interface. A EbiPortletConsumerRegistry
object is instantiated by the factory and scoped at one per Portal application.
A EbiPortletConsumerRegistry
is responsible of providing methods to
perform portlet application registrations for any available portlet producers that are
running on the same application server instance. It also provides methods to
perform portlet registrations for any portlets that are available from registered
portlet producers.
Field Summary | |
static String |
PORTLET_CONSUMER_REGISTRY
Service entriy key of the portlet consumer registry. |
Method Summary | |
void |
cleanOrphanPortletProducer(EbiContext context,
String producerID)
Cleans an orphan portlet producer and all related data from persistence store. |
void |
deregisterPortletProducer(EbiContext context,
String producerID)
De-register a portlet producer. |
void |
enablePortletProducer(EbiContext context,
String producerID,
boolean enable)
Enables a portlet producer. |
void |
flushPortletProducer(String producerID)
Flushes the information mgr for the specified portlet producer. |
Collection |
getOrphanPortletProducerList(EbiContext context)
Gets a list of orphan portlet producers that are either no longer active from app/web server or are not a valid portlet applications. |
EbiPortletInfoManager |
getPortletInfoManager(String producerID)
Gets a portlet info manager for a specified producer ID. |
EbiPortletProducerInfo |
getPortletProducerInfo(EbiContext context,
String producerID,
boolean flush)
Gets an EbiPortletProducerInfo for a registered portlet producer
from the portlet consumer registry. |
Collection |
getPortletProducerList(EbiContext context,
boolean flush)
Gets a list of registered portlet producers from the portlet consumer registry. |
boolean |
isPortletProducerAccessible(EbiContext context,
String producerID)
Checks if a portlet producer is accessible. |
boolean |
isPortletProducerEnabled(EbiContext context,
String producerID)
Checks if a portlet producer is enabled. |
void |
registerPortletProducer(EbiContext context,
String producerID)
Register a portlet producer. |
Field Detail |
public static final String PORTLET_CONSUMER_REGISTRY
Method Detail |
public EbiPortletProducerInfo getPortletProducerInfo(EbiContext context, String producerID, boolean flush) throws EboUnrecoverableSystemException, EboSecurityException
EbiPortletProducerInfo
for a registered portlet producer
from the portlet consumer registry.context
- an EbiContext
object.producerID
- a portlet producer identifierflush
- if set to true, it forces to get the data from
persistent storage, instead of cache.EbiPortletProducerInfo
object for the specified
portlet producer.EbiPortletProducerInfo
public void registerPortletProducer(EbiContext context, String producerID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.producerID
- a producer ID for a portlet producer to be registered.
A producer ID should be the portlet application context name of the WAR
for the portlet producer.public void deregisterPortletProducer(EbiContext context, String producerID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.producerID
- a producer ID for a portlet producer to be de-registered.public void enablePortletProducer(EbiContext context, String producerID, boolean enable) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.producerID
- a producer ID for a portlet producer to be enabledenable
- true if enabling the portlet producer, false otherwise.public Collection getPortletProducerList(EbiContext context, boolean flush) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext object.flush
- if set to true, it forces to get the list from the persistent
storege, instead of cache.Collection
of EbiPortletProducerInfo
objects for
deployed portlet producers.EbiPortletProducerInfo
public Collection getOrphanPortletProducerList(EbiContext context) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.Collection
of EbiPortletProducerInfo
objects.public void cleanOrphanPortletProducer(EbiContext context, String producerID) throws EboUnrecoverableSystemException, EboSecurityException
context
- producerID
- public boolean isPortletProducerAccessible(EbiContext context, String producerID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.producerID
- a producer ID for a portlet producer to be checkedpublic boolean isPortletProducerEnabled(EbiContext context, String producerID) throws EboUnrecoverableSystemException, EboSecurityException
context
- an EbiContext
object.producerID
- a producer ID for a portlet producer to be checkedpublic EbiPortletInfoManager getPortletInfoManager(String producerID)
producerID
- EbiPortletInfoManager
object.EbiPortletInfoManager
public void flushPortletProducer(String producerID)
producerID
- a producer ID for a portlet producer.
|
Novell exteNd Director 5.2 API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |