|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.config.mappers.XMLBeansModel
public class XMLBeansModel
XMLBeans based model implementation.
Constructor Summary | |
---|---|
XMLBeansModel(org.jboss.soa.esb.listeners.config.xbeanmodel101.JbossesbDocument.Jbossesb jbossesb)
Constructor. |
Method Summary | |
---|---|
static boolean |
exposesInVMListener(org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service service)
|
org.w3c.dom.Document |
generateESBAwareConfig()
Generate the ESB Aware configuration document. |
org.w3c.dom.Document |
generateGatewayConfig()
Generate the gateway configuration document. |
java.util.Set<java.lang.String> |
getActions()
Get the list of actions in this deployment. |
org.jboss.soa.esb.listeners.config.xbeanmodel101.Bus |
getBus(java.lang.String busid)
Get the <bus> configuration matching the supplied busid reference value. |
java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener> |
getESBAwareListeners()
Get the list of ESB Aware Listeners from the configuration. |
java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener> |
getGatewayListeners()
Get the list of ESB Gateway Listeners from the configuration. |
java.lang.String |
getParameterReloadSecs()
Gets the setting for the number of seconds between reloads. |
static java.lang.String |
getProperty(java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.PropertyDocument.Property> properties,
java.lang.String name,
java.lang.String defaultVal)
|
org.jboss.soa.esb.listeners.config.xbeanmodel101.Provider |
getProvider(org.jboss.soa.esb.listeners.config.xbeanmodel101.Bus bus)
Get the <provider> configuration containing the supplied Bus configuration instance. |
org.jboss.soa.esb.listeners.config.xbeanmodel101.Schedule |
getSchedule(java.lang.String id)
|
int |
getScheduledListenerCount()
|
org.jboss.soa.esb.listeners.config.xbeanmodel101.ScheduleProviderDocument.ScheduleProvider |
getScheduleProvider()
|
org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service |
getService(org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener listener)
Get the Service to which the supplied Listener configuration instance is bound. |
java.util.List<ServiceContract> |
getServiceContracts()
|
java.util.Map<Service,java.util.List<ServicePublisher>> |
getServicePublishers()
Get a map of service publishers provided by each service. |
java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service> |
getServices()
Get the Service list. |
java.util.List<WebserviceInfo> |
getWebserviceServices()
Get the list of services which require a webservice endpoint. |
static java.util.Properties |
toProperties(java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.PropertyDocument.Property> configProperties)
Get the properties from the document. |
void |
verifyScheduleProviderConfig()
Verify the schedule provider configuration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLBeansModel(org.jboss.soa.esb.listeners.config.xbeanmodel101.JbossesbDocument.Jbossesb jbossesb)
xmlBeansDoc
- XMLBeans config model.Method Detail |
---|
public java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener> getGatewayListeners() throws ConfigurationException
ConfigurationException
- Bad configuration.public java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener> getESBAwareListeners() throws ConfigurationException
ConfigurationException
- Bad configuration.public org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service getService(org.jboss.soa.esb.listeners.config.xbeanmodel101.Listener listener)
Listener
configuration instance is bound.
listener
- The listener instance (Gateway or ESB Aware).
public java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service> getServices()
public org.jboss.soa.esb.listeners.config.xbeanmodel101.Bus getBus(java.lang.String busid) throws ConfigurationException
busid
- The required <bus> configuration reference value.
ConfigurationException
- Unknown busid reference value.public org.jboss.soa.esb.listeners.config.xbeanmodel101.Provider getProvider(org.jboss.soa.esb.listeners.config.xbeanmodel101.Bus bus)
bus
- The Bus config instance whose Provider is being sought.
public org.jboss.soa.esb.listeners.config.xbeanmodel101.Schedule getSchedule(java.lang.String id)
public org.jboss.soa.esb.listeners.config.xbeanmodel101.ScheduleProviderDocument.ScheduleProvider getScheduleProvider()
public int getScheduledListenerCount()
public java.lang.String getParameterReloadSecs()
public static java.lang.String getProperty(java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.PropertyDocument.Property> properties, java.lang.String name, java.lang.String defaultVal)
public static boolean exposesInVMListener(org.jboss.soa.esb.listeners.config.xbeanmodel101.ServiceDocument.Service service)
public void verifyScheduleProviderConfig() throws ConfigurationException
ConfigurationException
public java.util.Map<Service,java.util.List<ServicePublisher>> getServicePublishers()
public org.w3c.dom.Document generateESBAwareConfig() throws ConfigurationException
ConfigurationException
- Error creating configuration.public org.w3c.dom.Document generateGatewayConfig() throws ConfigurationException
ConfigurationException
- Error creating configuration.public static java.util.Properties toProperties(java.util.List<org.jboss.soa.esb.listeners.config.xbeanmodel101.PropertyDocument.Property> configProperties)
configProperties
- The document properties.
public java.util.Set<java.lang.String> getActions()
public java.util.List<WebserviceInfo> getWebserviceServices()
public java.util.List<ServiceContract> getServiceContracts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |