org.jboss.portal.server.deployment.builder
Class PortalBuilder

java.lang.Object
  extended byjavax.management.NotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.portal.server.util.Service
              extended byorg.jboss.portal.server.deployment.builder.AbstractMetaDataBuilder
                  extended byorg.jboss.portal.server.deployment.builder.PortalBuilder
All Implemented Interfaces:
javax.management.MBeanRegistration, MetaDataBuilder, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class PortalBuilder
extends AbstractMetaDataBuilder

Version:
$Revision: 1.2 $
Author:
Julien Viet

Field Summary
protected static org.apache.log4j.Logger log
          The logger.
 
Fields inherited from class org.jboss.portal.server.deployment.builder.AbstractMetaDataBuilder
manager
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
server, SERVICE_CONTROLLER_SIG, serviceName
 
Fields inherited from class javax.management.NotificationBroadcasterSupport
 
Fields inherited from interface org.jboss.system.ServiceMBean
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Constructor Summary
PortalBuilder()
           
 
Method Summary
 void build(Item item)
           
protected  PortalMetaData buildPortalMetaData(Element portalElt)
          Parse the following XML elements : portal-name, supported-modes, supported-window-states.
protected  void buildSupportedModes(PortalMetaData portalMD, Element supportedModesElt)
           
protected  void buildSupportedWindowStates(PortalMetaData portalMD, Element supportedWindowStatesElt)
           
 
Methods inherited from class org.jboss.portal.server.deployment.builder.AbstractMetaDataBuilder
createService, destroyService, getServerManager, setServerManager
 
Methods inherited from class org.jboss.portal.server.util.Service
create, destroy, getState, getStateString, start, stop
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport
getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, startService, stopService
 
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.log4j.Logger log
The logger.

Constructor Detail

PortalBuilder

public PortalBuilder()
Method Detail

build

public void build(Item item)

buildPortalMetaData

protected PortalMetaData buildPortalMetaData(Element portalElt)
                                      throws Exception
Parse the following XML elements : portal-name, supported-modes, supported-window-states.

Throws:
Exception

buildSupportedModes

protected void buildSupportedModes(PortalMetaData portalMD,
                                   Element supportedModesElt)

buildSupportedWindowStates

protected void buildSupportedWindowStates(PortalMetaData portalMD,
                                          Element supportedWindowStatesElt)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.