public class ConnectionReference extends Object
ConnectionContext
and ConnectionInfo
as well as the Shiro
Environment
.
This implementation primarily exists as a
Parameter Object Design Pattern implementation to eliminate long parameter lists, but provides additional
benefits, such as immutability and non-null guarantees, and possibility for future data without forcing method
signature changes.Constructor and Description |
---|
ConnectionReference(ConnectionContext connCtx,
org.apache.activemq.command.ConnectionInfo connInfo,
org.apache.shiro.env.Environment environment) |
Modifier and Type | Method and Description |
---|---|
ConnectionContext |
getConnectionContext() |
org.apache.activemq.command.ConnectionInfo |
getConnectionInfo() |
org.apache.shiro.env.Environment |
getEnvironment() |
public ConnectionReference(ConnectionContext connCtx, org.apache.activemq.command.ConnectionInfo connInfo, org.apache.shiro.env.Environment environment)
public ConnectionContext getConnectionContext()
public org.apache.activemq.command.ConnectionInfo getConnectionInfo()
public org.apache.shiro.env.Environment getEnvironment()
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.