public class ServiceFederationManagerProxy extends AdministeredObject
Single instance per execution group is retrieved by using ExecutionGroupProxy.getServiceFederationManagerProxy() Note that this will return null if Service Federation Management not configured to be enabled in the Broker.
Given that 'eg' is a connected ExecutionGroupProxy instance, then to return the ServiceFederationManagerProxy for that execution group:
ServiceFederationManagerProxy sfmProxy = eg.getServiceFederationManagerProxy();
if (null != sfmProxy) { ... }
com.ibm.broker.config.proxy.ServiceFederationManagerProxy
|
|
Responsibilities | Provides a container of all Service Federation Manager objects within an execution group, including ServiceGroupProxyItem and ServiceProxyItem. |
Internal Collaborators | com.ibm.broker.config.proxy.ExecutionGroupProxy |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 54148.6 2009-08-11 HDMJB v7 Release
Modifier and Type | Method and Description |
---|---|
ServiceGroupProxyItem |
createServiceGroupProxyItem(java.lang.String groupProxyName,
java.util.Properties suppliedProps)
Deprecated.
|
ConfigurationObjectType |
getConfigurationObjectType()
Deprecated.
Returns the ConfigurationObjectType associated
with this AdministeredObject type.
|
ConfigurationObjectType |
getConfigurationObjectTypeOfParent()
Deprecated.
Returns the ConfigurationObjectType associated
with the logical parent of this AdministeredObject type.
|
java.lang.String |
getName()
Deprecated.
Returns the name of the object
|
java.lang.String |
getRuntimeProperty(java.lang.String objectAndPropertyName)
Deprecated.
Returns the value of the runtime property with the supplied name.
|
java.lang.String[] |
getRuntimePropertyNames()
Deprecated.
Returns a string array of all runtime properties
associated with this object.
|
ServiceGroupProxyItem |
getServiceGroupProxyItemByName(java.lang.String groupProxyItemName)
Deprecated.
|
ServiceGroupProxyItem |
getServiceGroupProxyItemByUuid(java.lang.String groupProxyItemUuid)
Deprecated.
|
java.util.Enumeration<ServiceGroupProxyItem> |
getServiceGroupProxyItems()
Deprecated.
|
void |
setLongDescription(java.lang.String desc)
Deprecated.
This method overrides the base class
implementation, so that an exception is thrown if this method
is invoked against this class.
|
void |
setProperties(java.util.Properties suppliedProps)
Deprecated.
Asks the broker to sets multiple
ServiceFederationManagerProxy properties in single request to
the broker.
|
void |
setRuntimeProperty(java.lang.String objectAndPropertyName,
java.lang.String propertyValue)
Deprecated.
Asks the broker to configure an arbitrary service federation
manager property.
|
void |
setShortDescription(java.lang.String desc)
Deprecated.
This method overrides the base class
implementation, so that an exception is thrown if this method
is invoked against this class.
|
java.lang.String |
toString()
Deprecated.
Displays the name of the current object.
|
deregisterListener, deregisterListener, elements, equals, getAdvancedProperties, getBasicProperties, getLastBIPMessages, getLastCompletionCode, getLastUpdateUser, getLongDescription, getManagedSubcomponent, getManagedSubcomponentFromStringRepresentation, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponents, getManagedSubcomponentsAsStrings, getManagedSubcomponentsAsStrings, getNumberOfSubcomponents, getParent, getProperties, getProperty, getProperty, getProperty, getProperty, getRepositoryTimestamp, getShortDescription, getTimeOfLastCompletionCode, getTimeOfLastUpdate, getType, getUUID, hasBeenPopulatedByBroker, hasBeenPopulatedByBroker, hasBeenRestrictedByBroker, hasBeenRestrictedByBroker, hasBeenRestrictedByConfigManager, hasBeenRestrictedByConfigManager, hasBeenUpdatedByConfigManager, hasBeenUpdatedByConfigManager, isAwaitingSubmissionForCreation, isAwaitingSubmissionForDeletion, isDeployed, isShared, refresh, registerListener, registerListener, registerListener, setName, toVerboseString, unsubscribeFromConfigurationManagerUpdates, withName, withUUID
public ConfigurationObjectType getConfigurationObjectType()
getConfigurationObjectType
in class AdministeredObject
public ConfigurationObjectType getConfigurationObjectTypeOfParent()
getConfigurationObjectTypeOfParent
in class AdministeredObject
public java.lang.String getName() throws ConfigManagerProxyPropertyNotInitializedException
getName
in class AdministeredObject
ConfigManagerProxyPropertyNotInitializedException
- if the name could not be determined because
the information was not supplied from the broker before a
timeout occurred.public java.lang.String toString()
toString
in class AdministeredObject
public void setShortDescription(java.lang.String desc) throws ConfigManagerProxyLoggedException
setShortDescription
in class AdministeredObject
desc
- (this is ignored)ConfigManagerProxyLoggedException
- to indicate this
method should not be called.public void setLongDescription(java.lang.String desc) throws ConfigManagerProxyLoggedException
setLongDescription
in class AdministeredObject
desc
- (this is ignored)ConfigManagerProxyLoggedException
- to indicate this
method should not be called.public java.lang.String[] getRuntimePropertyNames()
public java.lang.String getRuntimeProperty(java.lang.String objectAndPropertyName) throws ConfigManagerProxyPropertyNotInitializedException, java.lang.IllegalArgumentException
If you wish to directly look up a specific named property, use constants defined in the AttributeConstants interface wherever possible. If a constant does not exist, the objectAndpropertyName parameter can be made up of a String of the form "ObjectName/PropertyName", where ObjectName and PropertyName are the object and property names supplied on the -o and -n parameters respectively of mqsireportproperties. The '/' separator is defined as AttributeConstants.OBJECT_NAME_DELIMITER.
objectAndPropertyName
- The name of the property to be reportedConfigManagerProxyPropertyNotInitializedException
- if the value of the property could not be determined because
the information was not supplied from the broker before a
timeout occurred.java.lang.IllegalArgumentException
- if objectAndPropertyName is not a valid syntax.public void setRuntimeProperty(java.lang.String objectAndPropertyName, java.lang.String propertyValue) throws ConfigManagerProxyLoggedException, java.lang.IllegalArgumentException
To set properties the objectAndPropertyName parameter must also be made up of a String of the form "ObjectName/PropertyName", where ObjectName and PropertyName are the object and property names supplied on the -o and -n parameters* of mqsichangeproperties. For example, "This/maxWaitTime" would request a change to the Service Federation Managers maxWaitTime property. The '/' separator is defined as AttributeConstants.OBJECT_NAME_DELIMITER.
The list of currently defined property names can be obtained using the method getRuntimePropertyNames(). However, not all runtime properties returned by this method can be set.
objectAndPropertyName
- The complete object and property name of the
property being manipulatedpropertyValue
- The new value to associate with the propertyConfigManagerProxyLoggedException
- if the request could not be
sent to the broker. If synchronous updates have been enabled using
BrokerProxy.setSynchronous(), subclasses of this exception type will
also be thrown if the request is rejected by the broker, or if the
request is not processed before a timeout occurs.java.lang.IllegalArgumentException
- if objectAndPropertyName is not of a valid syntax.public ServiceGroupProxyItem createServiceGroupProxyItem(java.lang.String groupProxyName, java.util.Properties suppliedProps) throws ConfigManagerProxyLoggedException, ConfigManagerProxyPropertyNotInitializedException
groupProxyName
- suppliedProps
- ConfigManagerProxyLoggedException
- if the request could not be
sent to the broker. This exception type will also be thrown if the request
is rejected by the broker, or if the request is not processed before a timeout
occurs. The user can override the timeout via BrokerProxy.setSynchronous(t)ConfigManagerProxyPropertyNotInitializedException
public void setProperties(java.util.Properties suppliedProps) throws ConfigManagerProxyLoggedException
setProperties
in class AdministeredObject
suppliedProps
- Object containing the key/value pair
of properties to set.ConfigManagerProxyLoggedException
- if the request could not be
sent to the broker. If synchronous updates have been enabled using
BrokerProxy.setSynchronous(), subclasses of this exception type will
also be thrown if the request is rejected by the broker, or if the
request is not processed before a timeout occurs.public java.util.Enumeration<ServiceGroupProxyItem> getServiceGroupProxyItems() throws ConfigManagerProxyPropertyNotInitializedException
ConfigManagerProxyPropertyNotInitializedException
public ServiceGroupProxyItem getServiceGroupProxyItemByUuid(java.lang.String groupProxyItemUuid) throws ConfigManagerProxyPropertyNotInitializedException
groupProxyItemUuid
- ConfigManagerProxyPropertyNotInitializedException
public ServiceGroupProxyItem getServiceGroupProxyItemByName(java.lang.String groupProxyItemName) throws ConfigManagerProxyPropertyNotInitializedException
groupProxyItemName
- ConfigManagerProxyPropertyNotInitializedException