[jboss-jira] [JBoss JIRA] Resolved: (AS7-855) Create "runtime only" resource for the WS endpoint information
Emanuel Muckenhuber (JIRA)
jira-events at lists.jboss.org
Wed Jun 22 04:17:23 EDT 2011
[ https://issues.jboss.org/browse/AS7-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emanuel Muckenhuber resolved AS7-855.
-------------------------------------
Resolution: Done
deployed webservices endpoints are now part of the deployment mgmt subtree:
[standalone at localhost:9999 /] /deployment=ws-samples.war:read-resource(recursive=true)
{
"outcome" => "success",
"result" => {
"content" => [{"hash" => bytes {
0x67, 0x1f, 0x84, 0x12, 0x59, 0xa6, 0xd3, 0x19,
0x19, 0x61, 0x92, 0x17, 0x1b, 0xc4, 0x5b, 0x64,
0x2a, 0x62, 0x03, 0x94
}}],
"enabled" => true,
"name" => "jaxws-samples-handlerchain.war",
"persistent" => true,
"runtime-name" => "jaxws-samples-handlerchain.war",
"subdeployment" => undefined,
"subsystem" => {
"web" => {"servlet" => {"TestService" => {
"servlet-class" => "org.jboss.wsf.spi.deployment.WSFServlet",
"servlet-name" => "TestService"
}}},
"webservices" => {"endpoint" => {"jaxws-samples-handlerchain:TestService" => {
"class" => "org.jboss.test.ws.jaxws.samples.handlerchain.EndpointImpl",
"context" => "jaxws-samples-handlerchain",
"name" => "TestService",
"type" => "JAXWS_JSE",
"wsdl-url" => "http://localhost:8080/jaxws-samples-handlerchain?wsdl"
}}}
}
}
}
> Create "runtime only" resource for the WS endpoint information
> --------------------------------------------------------------
>
> Key: AS7-855
> URL: https://issues.jboss.org/browse/AS7-855
> Project: Application Server 7
> Issue Type: Task
> Components: Domain Management, Web Services
> Reporter: Brian Stansberry
> Assignee: Emanuel Muckenhuber
> Fix For: 7.0.0.CR1
>
>
> The patch for AS7-698 introduced a call from a deployment unit processor into the management layer, in order to add some transient (i.e. not marshalled to xml) state about ws endpoints. We need to get this out of the core model and avoid the need for deployers to invoke management operations (TBH I'm not sure why this management op works at all.) To do that we need some better support for a true "runtime only" resource, one that has no representation in the model. At least a good example, so subsystem devs can see how to implement one. Such an example will likely fall out of the work on exposing the JDK platform mbeans via the management system, since those are purely runtime resources.
> The part that needs to be demonstrated is how to override the global operation handling (e.g. read-resource, read-attribute, read-children-names on the parent resource), since the default handlers for those ops are built around reading the model.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list