public final class WSHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <A> A |
getOptionalAttachment(org.jboss.wsf.spi.deployment.Deployment dep,
Class<A> key)
Returns optional attachment value from webservice deployment or null if not bound.
|
static <A> A |
getRequiredAttachment(org.jboss.wsf.spi.deployment.Deployment dep,
Class<A> key)
Returns required attachment value from webservice deployment.
|
static boolean |
hasAttachment(org.jboss.wsf.spi.deployment.Deployment dep,
Class<?> key)
Returns true if webservice deployment have attachment value associated with the key.
|
static boolean |
isEarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if archive name ends with '.ear' suffix.
|
static boolean |
isEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents either JAXWS EJB or JAXRPC EJB deployment.
|
static boolean |
isEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents either JAXWS EJB3 or JAXRPC EJB21 endpoint.
|
static boolean |
isJarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if archive name ends with '.jar' suffix.
|
static boolean |
isJaxrpcDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents either JAXRPC EJB or JAXRPC JSE deployment.
|
static boolean |
isJaxrpcEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents JAXRPC EJB deployment.
|
static boolean |
isJaxrpcEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents JAXRPC EJB21 endpoint.
|
static boolean |
isJaxrpcEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents either JAXRPC JSE or JAXRPC EJB21 endpoint.
|
static boolean |
isJaxrpcJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents JAXRPC JSE deployment.
|
static boolean |
isJaxrpcJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents JAXRPC JSE endpoint.
|
static boolean |
isJaxwsDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents either JAXWS EJB or JAXWS JSE deployment.
|
static boolean |
isJaxwsEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents JAXWS EJB deployment.
|
static boolean |
isJaxwsEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents JAXWS EJB3 endpoint.
|
static boolean |
isJaxwsEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents either JAXWS JSE or JAXWS EJB3 endpoint.
|
static boolean |
isJaxwsJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents JAXWS JSE deployment.
|
static boolean |
isJaxwsJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents JAXWS JSE endpoint.
|
static boolean |
isJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if deployment represents either JAXWS JSE or JAXRPC JSE deployment.
|
static boolean |
isJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
Returns true if endpoint represents either JAXWS JSE or JAXRPC JSE endpoint.
|
static boolean |
isWarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
Returns true if archive name ends with '.war' suffix.
|
public static <A> A getRequiredAttachment(org.jboss.wsf.spi.deployment.Deployment dep, Class<A> key)
A
- expected valuedep
- webservice deploymentkey
- attachment keyIllegalStateException
- if attachment value is nullpublic static <A> A getOptionalAttachment(org.jboss.wsf.spi.deployment.Deployment dep, Class<A> key)
A
- expected valuedep
- webservice deploymentkey
- attachment keypublic static boolean hasAttachment(org.jboss.wsf.spi.deployment.Deployment dep, Class<?> key)
dep
- webservice deploymentkey
- attachment keypublic static boolean isJaxwsJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxwsEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxrpcJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxrpcEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJseDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isEjbDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxwsDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxrpcDeployment(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isWarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isEarArchive(org.jboss.wsf.spi.deployment.Deployment dep)
dep
- webservice deploymentpublic static boolean isJaxwsJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJaxwsEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJaxrpcJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJaxrpcEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJseEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isEjbEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJaxwsEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointpublic static boolean isJaxrpcEndpoint(org.jboss.wsf.spi.deployment.Endpoint ep)
ep
- webservice endpointCopyright © 2013 JBoss, by Red Hat. All rights reserved.