Package wt.federation
Class ServiceIdentifier
java.lang.Object
wt.federation._ServiceIdentifier
wt.federation.ServiceIdentifier
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable
@GenAsObjectMappable(versions=8114679849756312739L,properties={@GeneratedProperty(name="className",type=java.lang.String.class,supportedAPI=PUBLIC),@GeneratedProperty(name="serviceName",type=java.lang.String.class,supportedAPI=PUBLIC)})
public class ServiceIdentifier
extends _ServiceIdentifier
Use the newServiceIdentifier static factory method(s), not
the ServiceIdentifier constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
FieldsFields inherited from class wt.federation._ServiceIdentifier
CLASS_NAME, SERVICE_NAME -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if a specified object is a serviceIdentifier and its className and serviceName properties match the corresponding values of this object.Return an instance of the service identified by this service identifier.inthashCode()Return the hash code of the service identifier.protected voidSupports initialization, following construction of an instance.protected voidinitialize(String id) Supports initialization, following construction of an instance.protected voidinitialize(String className, String serviceName) Supports initialization, following construction of an instance.static ServiceIdentifierConstructor retuning an instance with null className and serviceName properties.static ServiceIdentifierConstructor returning an instance whose className and serviceName are derviced from the specified identifier.static ServiceIdentifiernewServiceIdentifier(String className, String serviceName) Constructor returning an instance initialized with the specified className and serviceName property values.Methods inherited from class wt.federation._ServiceIdentifier
getClassName, getServiceName, setClassName, setServiceName
-
Field Details
-
ID_SEPARATOR
Supported API: true- See Also:
-
-
Method Details
-
newServiceIdentifier
Constructor returning an instance whose className and serviceName are derviced from the specified identifier. The syntax of the identifier must be className:serviceName.
Supported API: true- Parameters:
id-- Returns:
- ServiceIdentifier
- Throws:
FederationServicesException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
id-- Throws:
FederationServicesException
-
newServiceIdentifier
public static ServiceIdentifier newServiceIdentifier(String className, String serviceName) throws FederationServicesException Constructor returning an instance initialized with the specified className and serviceName property values.
Supported API: true- Parameters:
className-serviceName-- Returns:
- ServiceIdentifier
- Throws:
FederationServicesException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
className-serviceName-- Throws:
FederationServicesException
-
newServiceIdentifier
Constructor retuning an instance with null className and serviceName properties.
Supported API: true- Returns:
- ServiceIdentifier
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Throws:
WTException
-
getService
Return an instance of the service identified by this service identifier.
Supported API: true- Returns:
- FederatedService
- Throws:
FederationServicesException
-
equals
Return true if a specified object is a serviceIdentifier and its className and serviceName properties match the corresponding values of this object.
Supported API: true -
hashCode
public int hashCode()Return the hash code of the service identifier.
Supported API: true
-