|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.utils.ResourceTypeRegistry
public class ResourceTypeRegistry
Maps PBAC resource types to client-side Java interfaces.
GridClientPluginProvider| Constructor Summary | |
|---|---|
ResourceTypeRegistry()
|
|
| Method Summary | |
|---|---|
static QName[] |
getKnownPortTypes()
List all registered port types. |
static Class<? extends Conversation>[] |
getRegisteredResourceTypes()
Gets the current registered resources |
static Class<? extends Conversation> |
lookupResourceType(String resourceType)
Find the Conversation interface for a remote resource with this type. |
static Class<? extends RemoteService> |
lookupService(QName portType)
Find the RemoteService interface for a service with this port type. |
static void |
registerPortType(QName portType,
Class<? extends RemoteService> remoteService)
Add a new port type to the list of known types. |
static void |
registerResourceType(String resourceType,
Class<? extends Conversation> conversation)
Add a new port type to the list of known types. |
static void |
registerServiceType(Class<? extends RemoteService> remoteService)
Register the portTypeName defined for this interface. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceTypeRegistry()
| Method Detail |
|---|
public static Class<? extends Conversation>[] getRegisteredResourceTypes()
public static void registerResourceType(String resourceType,
Class<? extends Conversation> conversation)
public static Class<? extends Conversation> lookupResourceType(String resourceType)
resourceType - the resource type
ConversationID.getResourceType(org.apache.axis.message.addressing.EndpointReferenceType)public static void registerServiceType(Class<? extends RemoteService> remoteService)
public static void registerPortType(QName portType,
Class<? extends RemoteService> remoteService)
registerServiceType(java.lang.Class extends uk.ac.soton.ecs.iam.grid.comms.client.RemoteService>)public static Class<? extends RemoteService> lookupService(QName portType)
portType - the port type in the WSDL
public static QName[] getKnownPortTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||