https://issues.apache.org/jira/browse/AMQ-3894 - remove requirement for destination property enforced by spring - for a default entry there is no need for a destination - fix dependants

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1415661 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2012-11-30 14:48:08 +00:00
parent fb35648f80
commit c6cf88b836
2 changed files with 6 additions and 6 deletions

View File

@ -23,6 +23,7 @@ import java.util.HashSet;
import java.util.Set;
import java.util.StringTokenizer;
import javax.annotation.PostConstruct;
import org.apache.activemq.filter.DestinationMapEntry;
/**
@ -153,8 +154,12 @@ public class AuthorizationEntry extends DestinationMapEntry {
return answer;
}
/**
*
* @org.apache.xbean.InitMethod
*/
@PostConstruct
public void afterPropertiesSet() throws Exception {
super.afterPropertiesSet();
if (adminRoles != null) {
setAdminACLs(parseACLs(adminRoles));

View File

@ -44,11 +44,6 @@ public class FilteredKahaDBPersistenceAdapter extends DestinationMapEntry {
this.persistenceAdapter = persistenceAdapter;
}
@Override
public void afterPropertiesSet() throws Exception {
// ok to have no destination, we default it
}
public boolean isPerDestination() {
return perDestination;
}