public class ServiceProxyItem
extends java.lang.Object
Instances are created or retrieved from a ServiceGroupProxyItem which was obtained from an execution group's ServiceFederationManagerProxy object. Instances are not modified by the CMP once they have been instantiated. If any Service Federation Management objects or properties are subsequently modified, change notifications will only be sent to AdministeredObjectListeners of the ServiceFederationManagerProxy, and this object will contain out-of-date information. At that point this object should be re-obtained.
Given that 'sgpi' is a ServiceGroupProxyItem object obtain from a ServiceFederationManagerProxy, which was itself obtained from a connected ExecutionGroupProxy instance, then to create a new ServiceProxyItem instance use:
ServiceProxyItem spi = sgpi.createServiceProxyItem(...);To retrieve an enumeration of all the ServiceProxyItem objects within a ServiceGroupProxyItem use:
EnumerationTo retrieve a named ServiceProxyItem object within a ServiceGroupProxyItem use:spis = sgpi.getServiceProxyItems();
ServiceProxyItem spi = sgpi.getServiceProxyByName(proxyName);
com.ibm.broker.config.proxy.ServiceProxyItem | |
Responsibilities | Provides a ServiceProxyItem object for managing a Service Federation Management Service proxy targets in a ServiceGroupPoxyItem. |
Internal Collaborators | com.ibm.broker.config.proxy.ServiceGroupProxyItem |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 54148.6 2009-08-06 HDMJB v7 Release
Modifier and Type | Method and Description |
---|---|
void |
delete()
Asks the broker to delete this ServiceProxyItem
Note that deleting a ServiceGroupProxyItem stops and
removes the service proxy target in the runtime
|
java.lang.String |
getAuthor()
Returns the Author of the Service Proxy Item
|
java.util.Date |
getCreated()
Returns the time when this Service Proxy Item was created in
the runtime.
|
java.util.Date |
getLastUpdated()
Returns the time when this Service Proxy Item was last
updated in the runtime.
|
java.lang.String |
getName()
Returns the name of the Service Proxy Item
|
ServiceGroupProxyItem |
getOwningProxyGroupItem()
Returns ServiceGroupProxyItem object that owns this
ServiceProxyItem
|
java.lang.String |
getProxyUrl()
Returns the proxyUrl of the Service Proxy Item
|
java.lang.String |
getSummary()
Returns the Summary of the Service Proxy Item
|
java.lang.String |
getTargetUrl()
Returns the targetUrl of the Service Proxy Item
|
java.lang.String |
getTitle()
Returns the Title of the Service Proxy Item
|
java.lang.String |
getUUID()
Returns the UUID of the Service Proxy Item
|
java.lang.String |
getWsdlPort()
Returns the wsdlPort of the Service Proxy Item
|
boolean |
isRunning()
This method reports the actual runstate of the
ServiceProxyItem.
|
void |
setAuthor(java.lang.String newValue)
Sets the author field of the current ServiceProxyItem.
|
void |
setProperties(java.util.Properties suppliedProps)
Asks the broker to sets multiple ServiceProxyItem properties
in single request to the broker.
|
void |
setSummary(java.lang.String newValue)
Sets the summary field of the current ServiceProxyItem.
|
void |
setTitle(java.lang.String newValue)
Sets the title field of the current ServiceProxyItem.
|
java.lang.String |
toString()
Displays the name of the current object.
|
public void delete() throws ConfigManagerProxyLoggedException
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 void setProperties(java.util.Properties suppliedProps) throws ConfigManagerProxyLoggedException
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.lang.String getName()
public java.lang.String getUUID()
public java.lang.String getTitle()
public java.lang.String getAuthor()
public java.lang.String getSummary()
public java.lang.String getProxyUrl()
public java.lang.String getWsdlPort()
public java.lang.String getTargetUrl()
public boolean isRunning()
public java.util.Date getCreated()
public java.util.Date getLastUpdated()
public java.lang.String toString()
toString
in class java.lang.Object
public ServiceGroupProxyItem getOwningProxyGroupItem()
public void setTitle(java.lang.String newValue) throws ConfigManagerProxyLoggedException
newValue
- New value string.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 void setAuthor(java.lang.String newValue) throws ConfigManagerProxyLoggedException
newValue
- New value string.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 void setSummary(java.lang.String newValue) throws ConfigManagerProxyLoggedException
newValue
- New value string.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.